Fixing width of homepage

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
 
G

Guest

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.
 
I

Islamegy®

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top