Website Resolutions with XHTML

  • kanexpo2
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Oct 19, 2006
  • Posts: 112
  • Status: Offline

Post September 11th, 2008, 7:17 am

Hello,
I was wondering if there is a way to set the resolution for a website created in XHTML. I understand that the tables must be created with percentage rather than pixels.

Since that is a near to impossible task, getting all the pixels transformed to percentage variables, i would like to know if there were any alternative ways?

The site width of my page is 980pixels. This looks fine on resolutions above 1000 naturally. However since many users still use the old 800 x 600, it makes it impossible to surf properly on our website.

Changing all to CSS is sadly not an option as i lack the expertise in that and can't throw up $1000 for that.

Any help as always is kindly appreciated.

Rgrs,
kan
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post September 11th, 2008, 7:17 am

  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Joined: Mar 12, 2007
  • Posts: 6228
  • Loc: South-Africa
  • Status: Offline

Post September 11th, 2008, 7:19 am

760px? that would fit in nicely with a 800*600 screen ... and XHTML and HTML both use CSS to render their widths or inline styles ... exactly the same way ...
Let's leave all our *plum* where it is and go live in the jungle ...
  • kanexpo2
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Oct 19, 2006
  • Posts: 112
  • Status: Offline

Post September 11th, 2008, 7:50 am

hi righteous_trespasser,
thanks for your answer.

the width is 980px, i think you might have misread that.

Could you possibly give me some more leads on the width or inline styles?

I will try to make a search on that and hopefully will be able to fix up my little site by myself.

cheers,
kan
  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Joined: Mar 12, 2007
  • Posts: 6228
  • Loc: South-Africa
  • Status: Offline

Post September 11th, 2008, 8:31 am

there is no way to set the resolution that I know of ... you either have it a certain amount of pixels or you have it a percentage of the screen ... and both of them are applied via CSS or inline styling (which is CSS, just inline instead of in another file) ...
Let's leave all our *plum* where it is and go live in the jungle ...
  • seularts
  • Graduate
  • Graduate
  • User avatar
  • Joined: Jan 02, 2007
  • Posts: 147
  • Loc: Romania
  • Status: Offline

Post September 11th, 2008, 1:00 pm

i use 960px and it fits perfectly on 800x600 and heigher..
  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Joined: Mar 12, 2007
  • Posts: 6228
  • Loc: South-Africa
  • Status: Offline

Post September 11th, 2008, 1:03 pm

that's impossible ... ::: 960 > 800
Let's leave all our *plum* where it is and go live in the jungle ...
  • seularts
  • Graduate
  • Graduate
  • User avatar
  • Joined: Jan 02, 2007
  • Posts: 147
  • Loc: Romania
  • Status: Offline

Post September 11th, 2008, 2:29 pm

i meant in the psd layout i use 960.. so therefore i leave borders so i get something to fit in the 800x600:)
  • kanexpo2
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Oct 19, 2006
  • Posts: 112
  • Status: Offline

Post September 11th, 2008, 10:20 pm

if i were to use only DIV instead of tables, will that have a better impact on the resolution?

thx
  • kanexpo2
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Oct 19, 2006
  • Posts: 112
  • Status: Offline

Post September 11th, 2008, 10:47 pm

i dont understand..

div tags + xhtml
div tags + css

is there a way to get the resolution problem sorted out with the xhtml version, or do i need to switch fully to css?

thx
  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Joined: Mar 12, 2007
  • Posts: 6228
  • Loc: South-Africa
  • Status: Offline

Post September 11th, 2008, 11:26 pm

I think you're missing the point here kanexpo2 ... using CSS isn't another way of laying it out other than using XHTML (ot HTML) ... those two work together ... The CSS tells the (X)HTML what it should look like, how it should behave ...
Let's leave all our *plum* where it is and go live in the jungle ...

Post Information

  • Total Posts in this topic: 10 posts
  • Users browsing this forum: No registered users and 186 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.