1
jondixon
Centering?
  • 2004/8/30 1:25

  • jondixon

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/5/12


here's a link to the site I'm working on. link. how do I make the contents table centered instead of on the left margin at 1024x768 or higher?

2
rocket98
Re: Centering?
  • 2004/8/30 3:12

  • rocket98

  • Just popping in

  • Posts: 95

  • Since: 2004/6/2 2


Hi jondixon,

Easiest method to center the content vertically would be to add a tag like this:


align="center">

Since everything is 100% that should pull the page into center of window. Your main content areas will remain at 790px unless you change this width in the style.css for the id 'table#okvir'. 100% width in a 790px space if fine.

There are some other issues in your mods from top to bottom, mostly "" out of place, and missing close tags on open
etc. Theme looks to work with
errors but you could fix then check if fixes are good.

Line 31: Document type doesn't permit attribute “Everything” within element “”.
Line 31: Document type doesn't permit attribute “Christian” within element “”.
Line 31: Document type doesn't permit attribute “in” within element “”.
Line 31: Document type doesn't permit attribute “Atlantic” within element “”.
Line 31: Document type doesn't permit attribute “Canada.""” within element “”.
Line 48: Document type doesn't permit attribute “"” within element “” omitted
Line 93: Document type doesn't permit attribute “"” within element “” found but element wasn't open.
Line 97: Close element “” found but element wasn't open.
Line 98: Close element “
”.
Line 28: Close tag for element “
”.
Line 96: Close element “
” found but element wasn't open.
Line 117: Document type does not permit element “
” in content of element “”.
Line 112: Close tag for element “” omitted
Line 116: Close tag for element “” omitted

If you do set page to full 100% width and want to offset the page left and right in the full window put this in your css body tag
margin0 10px 0 10px;
(so your left right columns don't end up tight against left right edges at 100% width. Replace the code that is already there with 0 10px 0 10px.

If this is how you want the alignment to look link then I'm on the right track.

I editted this post in regard to the style.css

Have fun!
rocket98

3
jondixon
Re: Centering?
  • 2004/8/30 11:05

  • jondixon

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/5/12


Man, that was excellent, thanks! I fixed the centering problem and the rest of the issues had to do with having " " arround part of the alt text for the logo.

While we're at it though, at 800x600 res the site is a touch too wide. how do I change that?

4
Herko
Re: Centering?
  • 2004/8/30 12:03

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Your screen resolution is 800 pixels wide, but if your webpage is a bit long, the scrollbar 'eats' about 20 pixels from that. So full width at 800x600 is (with a safe margin) 760 px.

Herko

5
jondixon
Re: Centering?
  • 2004/8/30 13:53

  • jondixon

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/5/12


Thanks. The problem i'm having is figuring out hor to change to that width within the 7dana Jane theme.

6
jpco_122122
Re: Centering?

I was also encountering almost the same problem with Jondixon, I've been using 7dana-jane theme and my resolution is 1024x768 i had inserted a flash movie with a width of 609,it works fine in the beginning but when anyone has logged in it moves a little bit too long.

What can I do to fix this?

Login

Who's Online

297 user(s) are online (91 user(s) are browsing Support Forums)


Members: 0


Guests: 297


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits