Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

layout problem

Status
Not open for further replies.

MJB3K

Programmer
Jul 16, 2004
524
GB
Hi, i am currently developing a website, and want to know why the right navigation isnt stretching 100% across to fill the gap of the right nav td.

Here is the website:
Also, what do you think about the color scheme??

Do i need to change anything?


Regards,

Martin

Computing Help And Info:
 
My guess is because you a have a predefined width for your main table. 970px to be exact
if you want it to fill up the window make it also 100%

Second: Tables for layout, big [red]No No[/red] these days.

Read This:
and this.

Third colorscheme very hard on eyes. Blue on light blue, not enough contrast between them hard to read.

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
i tried with divs, but i couldn't get the layout to be prescise enough. somethings were bigger, even though i said for it to be Xpx. Also, how do you make the divs expand as the content goes into it?

How could u redesign my site in divs?

Regards,

Martin

Computing Help And Info:
 
To dynamically make a Div grow, give it a height attribute of auto
Code:
[fuschia]height[/fuschia]:[red]auto[/red];

Beware however, Div's won't grow past the parent containers dimensions, its there that the overflow attribute plays a key role.

Div based websites rely on the divs for content not the window.

Suppose your main content area is longer than the window can accomodate, with a div you don't rely on the window for scrolling you use the divs scrolling capabilities.

This helps when you don't want your menu's and other must-be-visible-at-all-times objects to scroll out of view. It keeps the elements visible, but allows the content to be scrollable.



----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
ok thanks, anyone got any idea of how i would make the website like the table one i got in div's?

Just a simple, titlebar, left, content, right nav n copyright bar.

Any ideas??

Regards,

Martin

Computing Help And Info:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top