Fixing width of homepage

  • Thread starter Thread starter Torben Laursen
  • Start date Start date
T

Torben Laursen

Hi

Is there a simple way to control the width of a homepage in asp.net. What I
want is the content of the homepage to have a fixed width of e.g. 20 cm
surrounded by a background. In that way I can make sure that the page looks
good no matter the size of the users monitor.

Thanks Torben
 
It's not an ASP.net thing it's an HTML/CSS thing. You can do what you want
to do using tables or divs. I sugest you buy a good book on HTML and CSS if
you are strugling with a simple thing like this.
 
this not ASP.Net, it's Html as the above reply mention.
anyway the answer is Noooo & yes..
it's can't be done useing tables coz table will expand if the content is
larger then the table width you specified..

But you can use div so scroll bars will appear if content exedeed the div
width (same as iframe), i don't like this way (You can override the style of
scrollbars but only in IE6, other browsers don't understand it. it's look
ugly)
 
Back
Top