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!

Newbie Qestions

Status
Not open for further replies.

baffled111

Technical User
Joined
Aug 27, 2001
Messages
8
Location
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.

Similar threads

  • Locked
  • Question Question
Replies
0
Views
119
Replies
2
Views
186
Replies
3
Views
194
Replies
2
Views
154

Part and Inventory Search

Sponsor

Back
Top