The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Web content not aligning on page
Colin Fibiger
post Apr 4 2012, 03:21 PM
Post #1





Group: Members
Posts: 1
Joined: 4-April 12
Member No.: 16,847



I took up the challenge of changing from tables to divs and my first attempt is going a little wrong.

The page can be viewed here Port Elizabeth Property

I am trying to have the entire page the same width as the banner and aligned under it.

I have attached the code as well as a screenshot from viewing it in Firefox 11



Any help will be appreciated as I really do not want to goi back to tables after coming so far
Attached File  html_code.doc ( 44.5k ) Number of downloads: 1675
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Apr 4 2012, 05:40 PM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



An easy way is to put everything in a wrapper DIV, make it the with width you want and center it.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 24th April 2024 - 02:43 PM