divs to place where I placed them in dreamweaver??
So me and my daughter have been working on this website and have gotten it to be centered with different browser windows and resolutions. Web designing is very new to me so I don't understand a lot of it. Anyway, I am trying to get the nav bar to move in bigger monitor sizes. In my daughter's monitor(smaller), the navbar shifts to the right a bit. And in my computer(larger) the nav bar shift a lot to the right. How do I get the nav bar to be in the position I placed it in dreamweaver??
First of all paste this code in to the <HEAD> section of your document:
<style type="text/css">
.navCentered
{
text-align:center;
margin-top:0px;
margin-bottom:0px;
padding:0px;
}
</style>
Then click the image you wish to centre and go to insert > Layers > Div
Now the second drop down the second drop down menu and you should be able to select navCentered
Click OK.
Done.
By the way I wrote this without having dreamweaver open so sorry it isn't perfect. I think the second form says ID.
This will also be in the middle no matter what the resolution, known as being fluid by the way.
I'm not worried about what it links to right now. Its that the div is supposed to be right under the word menu in different browser windows, because in my daughter's screen, which is way smaller than mine, the div appears to be a little to the right and on my screen its WAY off to the left.
Probably your best alternative for this is to use a 2 column css layout. Cut up the image GGPageSmall.gif into the individual components (left_top, left, center_banner, center_nav, center_content, right, right_bottom) and use these as backgrounds for the appropriate div.
your layout would be something like this...
Smaller images, re-usable css classes for the divs that are really the same and you have control over the design with css...
Oh... and you use REAL TEXT instead of putting everything in images.
I would suggest putting Dreamweaver away and learning some basic html and css... in the end life will be a lot easier.
Bookmarks