I also had the problem with the gray bar appearing and I noticed that DW showed me sitting in the nested list tags so I set a top margin of 0 and it took care of it.
When I added the menu-bg image and looked at it both in dreamweaver and mozilla I got a space in between the header and menu bg, which is noticeable because of the background color. I followed your instructions:
@ForgetfulLove Hi there, had a same problem... got away with it going to #menu_wrap in CSS Styles and there go to positioning, and go to overflow - auto. It worked for me, try it...
Hey iPlatsow, thanks for the comment. I am not sure it is just habit, it doesn't have to be that size but i quite like it though. I normally make sites centered in the browser and backgrounds to fit all monitors. Thanks
Hey krak8080, thanks for comment. Do you mean the actual graphic, does it have to be made in photoshop, no it can be made in any program or downloaded from the internet. The only thing wrong with that code is that you have not closed it. Where it says logo.jpg) it needs a ; at the end
You have excellent tutorials but why dont you make more and more about css we really need more i think all you've done is only the basic's so we want something very hard and helpful
Hey buenoisbuen, thanks for the mail. Yeh it is # (hash) i call i pound sign because in thailand we do not have the pound sign on keyboards so we all use that. My brain is a bit warped. Thanks
Hey wbmkk, if you did not make the header wrap graphic 100% it would not fit on all monitors you would have a big white area. There is no point setting it as a fixed width because you cant work out the correct size. By using 100% you don't have to worry about who is viewing it because it will fit on there screen. Try set it to a fixed width and you will see what i mean. Thanks wbmkk
The only thing I have trouble understanding is the margin:0 auto; line. What does the 'auto' do? How is it different from align-center? Is it centering vertically only? Or both vertically and horizontally?
Comment removed
xbriskx 4 months ago
what to do with PNG 24??? U KNEW THAT DOESNT WORK IN I.E ???
TheWaqaspuri 6 months ago
I also had the problem with the gray bar appearing and I noticed that DW showed me sitting in the nested list tags so I set a top margin of 0 and it took care of it.
wilsocn 6 months ago
i like this way of learning
hieusun2011 8 months ago
When I added the menu-bg image and looked at it both in dreamweaver and mozilla I got a space in between the header and menu bg, which is noticeable because of the background color. I followed your instructions:
#menu_wrap{
width:100%;
height:50px;
background:url(images/menu-bg.jpg) repeat-x;
a pic of it:
i88.photobucket(DOT)com/albums/k161/ForgetfulLove/dws1copy.jpg
ForgetfulLove 1 year ago
@ForgetfulLove Hi there, had a same problem... got away with it going to #menu_wrap in CSS Styles and there go to positioning, and go to overflow - auto. It worked for me, try it...
Rein199 1 year ago
Comment removed
Rein199 1 year ago
Comment removed
Taimoorabdullah 1 year ago
fantastic it starts to look like something :)
ztarrfect 1 year ago
How comes you use 980px all the time?
iPlatsow 1 year ago
Hey iPlatsow, thanks for the comment. I am not sure it is just habit, it doesn't have to be that size but i quite like it though. I normally make sites centered in the browser and backgrounds to fit all monitors. Thanks
Ali
1stoptutorials 1 year ago
I have the same problem like BrikStudio1,
I got a sitelogo, but do I have to make it with photoshop or can it be from the internet?
It is a .JPG file so i thought that it was gonna work
Code:
#site_logo {
width: 519px;
height: 400px;
background:url(images/logo.jpg)
}
Nice tuts ^^ krak8080
krak8080 1 year ago
Hey krak8080, thanks for comment. Do you mean the actual graphic, does it have to be made in photoshop, no it can be made in any program or downloaded from the internet. The only thing wrong with that code is that you have not closed it. Where it says logo.jpg) it needs a ; at the end
Thanks
Ali
1stoptutorials 1 year ago
@1stoptutorials Stupid of me xD but still it won't work =( idk what could be wrong... if you want I can send you a screen or so?
krak8080
krak8080 1 year ago
hey krak8080, yeh send me a pic. Thanks
Ali
1stoptutorials 1 year ago
@krak8080
#site_logo {
width: 519px;
height 400px;
background:url('images/logo.jpg');
}
try this, if you haven't already, and make sure images is within the file.
RalphLeeStone 1 year ago
@krak8080
#site_logo {
width: 519px;
height: 400px;
background-image:url('images/logo.jpg');
}
this may work to lol
RalphLeeStone 1 year ago
hey ali,
You have excellent tutorials but why dont you make more and more about css we really need more i think all you've done is only the basic's so we want something very hard and helpful
DasoccerTv 1 year ago
I cant get the banner work. I did save the image in gimp to jpg. (cant afford photoshop). Then I did that you did, but it wont work.
Here is the code:
#site_logo {
width:1000;
height:150;
background:url(Images/main%20banner%20website.jpg);
}
BrikStudio1 1 year ago
Hey BrikStudio1, thanks for the comment. Is it that you can not see your banner? try adding px after the width and height
width:1000px;
height:150px;
also you have spaces in your background image link try deleting them. Let me know how you get on
Ali
1stoptutorials 1 year ago
@BrikStudio1 You code shoul look like this just copy it and paste it to you website
#site_logo {
width:1000px;
height:150px;
background:url(Images/main%20banner%20website.jpg ) And here you should specify if you want to repeat or 'not ;
}
DasoccerTv 1 year ago
Hey ksb1392, thanks for the comment. Can you send me the code so i cat take a look for you. thanks ksb1392
Ali
1stoptutorials 1 year ago
Keep getting a grey gap (body color) between heading background and menu background :S
ksb1392 1 year ago
awesome!
littlestar1562 2 years ago
Hey Ali these are great videos, you keep saying that you are entering pound signs but you are infact entering #. Is that correct?
buenoisbuen 2 years ago
Hey buenoisbuen, thanks for the mail. Yeh it is # (hash) i call i pound sign because in thailand we do not have the pound sign on keyboards so we all use that. My brain is a bit warped. Thanks
buenoisbuen
Ali
1stoptutorials 2 years ago
Why ishas the header_wrap a width of 100%, but the header has been given a fixed width ?
Surely they should be the same, or am I wrong
wbmkk 2 years ago
Hey wbmkk, if you did not make the header wrap graphic 100% it would not fit on all monitors you would have a big white area. There is no point setting it as a fixed width because you cant work out the correct size. By using 100% you don't have to worry about who is viewing it because it will fit on there screen. Try set it to a fixed width and you will see what i mean. Thanks wbmkk
Ali
1stoptutorials 2 years ago
Excellent!
The only thing I have trouble understanding is the margin:0 auto; line. What does the 'auto' do? How is it different from align-center? Is it centering vertically only? Or both vertically and horizontally?
Remiss63 2 years ago
keep on going, you're the best!
OxOmarty 2 years ago