Website Resolutions with XHTML

  • kanexpo2
  • Graduate
  • Graduate
  • kanexpo2
  • Posts: 112

Post 3+ Months Ago

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
  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Posts: 6230
  • Loc: South-Africa

Post 3+ Months Ago

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 ...
  • kanexpo2
  • Graduate
  • Graduate
  • kanexpo2
  • Posts: 112

Post 3+ Months Ago

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
  • Posts: 6230
  • Loc: South-Africa

Post 3+ Months Ago

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) ...
  • seularts
  • Graduate
  • Graduate
  • User avatar
  • Posts: 153
  • Loc: Romania

Post 3+ Months Ago

i use 960px and it fits perfectly on 800x600 and heigher..
  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Posts: 6230
  • Loc: South-Africa

Post 3+ Months Ago

that's impossible ... ::: 960 > 800
  • seularts
  • Graduate
  • Graduate
  • User avatar
  • Posts: 153
  • Loc: Romania

Post 3+ Months Ago

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
  • kanexpo2
  • Posts: 112

Post 3+ Months Ago

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

thx
  • kanexpo2
  • Graduate
  • Graduate
  • kanexpo2
  • Posts: 112

Post 3+ Months Ago

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
  • Posts: 6230
  • Loc: South-Africa

Post 3+ Months Ago

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

Post Information

  • Total Posts in this topic: 10 posts
  • Users browsing this forum: No registered users and 17 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.