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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie Qestions

Status
Not open for further replies.

baffled111

Technical User
Aug 27, 2001
8
US
Hi,

I'm designing a simple website for the course I am teaching this summer and I'm having a few little problems.
Firstly, I designed the site for 600x800 resolution, and when I checked it on a different computer with different resolution, the page is crammed into one corner and doesn't fill up the whole screen properly. How can I make the site compatible with different resolutions, so that all the text and stuff is centered for any resolution?
Secondly, I use IE and when previewed in IE the site looks fine, but when I tested it in Netscape, all of my anchor links are a bit off-- I had set them up for IE so that when you click on a link the section title is at the top of the frame. In Netscape, the section title is in the middle of the screen, rather than the top. How can I arrange the anchors so that the links take you to the right place in any browser?
You can see the page here: (it's very basic)

Thanks for your help,
Baffled
 
If you place all the content of your main frame into a table with width set to 100% of the page. Then center the content in that table, it should always be centered across the page.

Open the center/main frame in notepad and add the following code underneath your <body> tag

<table width =&quot;100%&quot;>
<tr>
<td align=&quot;center&quot;>

Then scroll to the bottom of the document and before the closing </body> tag enter the following

</td>
</tr>
</table>

Hope thats of some help, I am not sure about the anchor problems though.

Naiku
 
Hey thanks,
The tables worked perfectly-- though I did have to recreate them from scratch-- inserting the code didn't work.

Thanks very much for the help.

Baffled.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top