User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 370,611 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,071 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 3078 | Replies: 9
Reply
Join Date: Mar 2004
Posts: 57
Reputation: cuddlers89 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
cuddlers89 cuddlers89 is offline Offline
Junior Poster in Training

How do i change scrollers and make my site sutible for all resolutions?

  #1  
Apr 27th, 2004
Hi i saw this site on the net, http://www.freewebs.com/poohishcorner/ and liked the way it was layed out, how do i make the main body of my site go in a box in the centre of the site? At the moment my site looks funny accross different resolutions so i would like to keep it all boxed in.

And how do i change the arrows at the side of the page to a color that i want?

Thanks
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Mar 2004
Location: Rancho Santa Margarita, California
Posts: 209
Reputation: i686-linux is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 9
i686-linux's Avatar
i686-linux i686-linux is offline Offline
Posting Whiz in Training

Re: How do i change scrollers and make my site sutible for all resolutions?

  #2  
Apr 27th, 2004
There may be a better way to create your site in a box, and center it, but in the past I have used the <center> tag for centering a 1x1 table, and then putting the rest of the content inside of the single table cell. I dunno if this is a hack job or standard practice, maybe that is why I'm not in web design.
PARANOIA:
A healthy understanding of the way the universe works.
Reply With Quote  
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,871
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 32
Solved Threads: 107
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: How do i change scrollers and make my site sutible for all resolutions?

  #3  
Apr 27th, 2004
<table width="720px" align="center">
  <tr><td align="left" valign="top">
 
	   PAGE CONTENT HERE
 
  </td></tr>
</table>
Reply With Quote  
Join Date: Mar 2004
Location: Rancho Santa Margarita, California
Posts: 209
Reputation: i686-linux is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 9
i686-linux's Avatar
i686-linux i686-linux is offline Offline
Posting Whiz in Training

Re: How do i change scrollers and make my site sutible for all resolutions?

  #4  
Apr 27th, 2004
Good idea Dani.
PARANOIA:
A healthy understanding of the way the universe works.
Reply With Quote  
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,871
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 32
Solved Threads: 107
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: How do i change scrollers and make my site sutible for all resolutions?

  #5  
Apr 28th, 2004
And yes, you're right. That is the standard way of doing things. For the most part, tables are used to position content on the screen (have it wrap, have it in columns, etc.) Some people are starting to get into heavily into XHTML and CSS though, in which the same effect could theoretically be obtained with div and span tags. i.e. the following:

<div align="center">
<span style="border:1px solid; width:750px; padding:2px; margin:2px">
 
Centered Text With Border Around It
 
</span>
</div>

Of course, more effects can be added. (background color, font, etc.) all to the span style element, and it renders much quickly than tables in the latest browsers. The class element can also be used to attach a CSS file with the style information, to separate html mark-up from visual design.
Reply With Quote  
Join Date: Mar 2004
Location: Brisbane
Posts: 630
Reputation: Slade has a spectacular aura about Slade has a spectacular aura about 
Rep Power: 7
Solved Threads: 6
Slade's Avatar
Slade Slade is offline Offline
Practically a Master Poster

Re: How do i change scrollers and make my site sutible for all resolutions?

  #6  
Apr 28th, 2004
Originally Posted by cscgal
<table width="720px" align="center">
<tr><td align="left" valign="top">
 
	 PAGE CONTENT HERE
 
</td></tr>
</table>

This is what you want, except I would probably make the width a percentage like 90%, this way, no matter what resolution the user is running it is, the table will only ever take up 90% of the screen, and will remain in the centre. Like this:
<table width="90%" align="center">
<tr><td align="left" valign="top">
 
	 PAGE CONTENT HERE
 
</td></tr>
</table>
Formerly known as Slade.
Reply With Quote  
Join Date: Mar 2004
Location: Brisbane
Posts: 630
Reputation: Slade has a spectacular aura about Slade has a spectacular aura about 
Rep Power: 7
Solved Threads: 6
Slade's Avatar
Slade Slade is offline Offline
Practically a Master Poster

Re: How do i change scrollers and make my site sutible for all resolutions?

  #7  
Apr 28th, 2004
the 90% can be replaced with whatever percentage you need to satisfy your requirements, savvy?


Slade
Formerly known as Slade.
Reply With Quote  
Join Date: Mar 2004
Location: Brisbane
Posts: 630
Reputation: Slade has a spectacular aura about Slade has a spectacular aura about 
Rep Power: 7
Solved Threads: 6
Slade's Avatar
Slade Slade is offline Offline
Practically a Master Poster

Re: How do i change scrollers and make my site sutible for all resolutions?

  #8  
Apr 28th, 2004
As for the scroll bar:

http://www.retailunion.net/fscrollbar.shtml
http://www.ignside.net/man/misc/test...lgenerador.htm

The above are nice simple sites that generate the code of the scroll bar look for you

Enjoy

Slade
Formerly known as Slade.
Reply With Quote  
Join Date: Mar 2004
Posts: 57
Reputation: cuddlers89 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
cuddlers89 cuddlers89 is offline Offline
Junior Poster in Training

Re: How do i change scrollers and make my site sutible for all resolutions?

  #9  
Apr 28th, 2004
Thanks everyone
Reply With Quote  
Join Date: Mar 2004
Location: Brisbane
Posts: 630
Reputation: Slade has a spectacular aura about Slade has a spectacular aura about 
Rep Power: 7
Solved Threads: 6
Slade's Avatar
Slade Slade is offline Offline
Practically a Master Poster

Re: How do i change scrollers and make my site sutible for all resolutions?

  #10  
Apr 28th, 2004
No problem, that's what were here for right? Non-payed technical support. . Blah just kidding, it's great, I help with what little knowledge I have and I get heaps out of it! Thanks Dani for setting this site up, it's awesome.
Formerly known as Slade.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb HTML and CSS Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 6:42 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC