Reply
CSS Newbie, what did I do wrong?
Old 07-16-2003, 07:14 PM CSS Newbie, what did I do wrong?
Average Talker

Posts: 22
Here is my sample page.
www.3dshoots.com/sched3/index.html

I have a bunch of questions.
1) why doesn't the red background line "information.." not extend the width of the box below it.

2) why doesn't the footer extend the width the box above it.

3) why does this page look so much different under netscape 7.1 & mozilla. Gap between content and products changes quite a bit between netscape and IE.

4) did I lay this out the wrong way? I mean should I be using tables?

Thanks for any advice
cgchris99 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 07-16-2003, 10:16 PM
DaveMo~'s Avatar
Administrator
Defies A Status

Posts: 10,209
Name: Dave
Location: Scott Depot, West Virginia, USA
Moved to forum about coding and scripts.

Dave
DaveMo~ is offline
Reply With Quote
View Public Profile Visit DaveMo~'s homepage!
 
Old 07-17-2003, 08:26 AM
praveen's Avatar
Life is a Dream

Latest Blog Post:
Happy Holidays
Posts: 3,577
Location: in a distant land far away from reality
here are my solutions.

1. the red line does not extend because you have not specified any width to it. and it takes the content width and displays only till that.

2. thats because the footer along with the banners are ina different div and it is improperly nested also. the content div is not closed .

3. this happens all the time. since the page has got some improperly nested/closed tags (invalid tags) the display will be affected.

you have tried to mix both XHTML and HTML. maybe cos of that it happens.

try to validate your markup. use w3's validator service. validator.w3.org .

if you got any errors, correct that.

4. using div/layers for layouts is fine as long as you do it correctly and use the proper syntax and correctly syntax it.

there is no clear rule/statement which says that table layouts are better than layer based layouts and viceversa.

it all depends on the designer and the kind of site which is being created.

when you are using layer based you got to be extra cautious since you got to "fix" your layout for diff. resolutions.

in tables all one needs to do is make the width into percentage values and it is done.


hope this helps, if u got any other problems. feel free to post it.

Have a nice day and all the best.
__________________
Praveen
Web Tools - Smilies - Celebs - Short URLs - Indian Food - Create a Poll - Social Bookmark Widget

Useful Threads, Tutorials and Resources
Graphics - Templates - Dreamweaver - Javascript - SEO - Ruby on Rails - Ajax Tutorials - More Ajax - CSS - More CSS
praveen is offline
Reply With Quote
View Public Profile Visit praveen's homepage!
 
Reply     « Reply to CSS Newbie, what did I do wrong?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12236 seconds with 12 queries