Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
|
|
CSS Alignment |
Page: 1 2 | Reply |
Sep 16th 2001 | #16362 Report |
Member since: Apr 7th 2001 Posts: 366 |
Okay now i've been playing around with CSS and have got my self a problem. On this page I can't get links 1 - 6 to adjust so that they will always be centered top to bottom and aligned the same from left to right, in the title bar even when resizing the window. Please help. For it all to align properly you'll have to your resolution 1024 and your window maximized. Oh sorry for the dang pop-ups I'm moving my site but haven't done it yet. |
Reply with Quote Reply |
Sep 16th 2001 | #16365 Report |
Member since: Jul 15th 2001 Posts: 2019 |
what you said doesn' t make any sense. nice layout it's as though you're using tables but not *cough* I was gonna copy the source too, but then axiom or someone was accusing me of hating people that don't use IE/use Netscape. So i decided not to. |
Reply with Quote Reply |
Sep 16th 2001 | #16367 Report |
Member since: Apr 7th 2001 Posts: 366 |
I'm not using tables, I'm using Cascading Styles Sheets. What about the question don't you understand? |
Reply with Quote Reply |
Sep 16th 2001 | #16372 Report |
Member since: Jul 15th 2001 Posts: 2019 |
(yea i saw that pag too no tables hehe) ok... On this page I can't get links 1 - 6 to adjust so that they will always be centered top to bottom and aligned the same from left to right = u want it going vertical? if that is...then this is probably the hardest way, i can't think of anything else due to my lack of knowledge put them in tables lol that way they will go vertical and be aligned. |
Reply with Quote Reply |
Sep 16th 2001 | #16377 Report |
Member since: Apr 7th 2001 Posts: 366 |
Okay have you looked at the page?? I want links 1 - 6 vertically centered in the box that says "A Web Site Title" and I want them positioned horozontally about where they are now. My problem is that right now it only works in a maximized browser window with your resolution at 1024. As soon as you resize the browser it doesn't line up. Get it now?? Sorry for the confusion! |
Reply with Quote Reply |
Sep 16th 2001 | #16389 Report |
Member since: Apr 7th 2001 Posts: 366 |
Where's Hunkorama when I need him!! :(
|
Reply with Quote Reply |
Sep 17th 2001 | #16423 Report |
Member since: Mar 18th 2001 Posts: 1690 |
because you have defined their position as "absolute" and then set the left: and top: for each class, you cant align them in any way, shape or form. go back over positioning elements with the <.div> tag. It's beyond me why you are making pseudo <.p> tags for each one of your links to sit in. This isn't the purpose of CSS. If you want them vertically centered, you are going to have to sacrifice one thing for another. 1- If you want them to grow with the page, you will either have to use the float attribute and with all likely-hood, abandon hope of a netscape user seeing the site as intended. or you will have to use tables in part your layout. 2- Study up more on CSS-P and CSS-1 spec. It's nice that you have taken on the task of building a site completly from css, but I think missed something in the spec somewhere. I don't mean that as an insult. Just looking at your CSS it's clear something was lost in the mix. CSS is supposed to make things simple. I was only confused by yours. |
Reply with Quote Reply |
Sep 17th 2001 | #16431 Report |
Member since: Mar 18th 2001 Posts: 6632 |
|
Reply with Quote Reply |
Sep 17th 2001 | #16436 Report |
Member since: Jul 15th 2001 Posts: 2019 |
but they said it's ok to copy the source and i'm still confused lol oh well :D |
Reply with Quote Reply |
Sep 17th 2001 | #16437 Report |
Member since: Mar 18th 2001 Posts: 6632 |
Yes, but they also asked for a link back to their site, or mention of the site. Especially since nothing was changed from the original at all. Oh well. Not my site. Not my call. |
Reply with Quote Reply |
Page: 1 2 | Back to top |
Please login or register above to post in this forum |
© Web Media Network Limited. All rights reserved. No part of this website may be reproduced without written permission. Photoshop is a registered trademark of Adobe Inc.. TeamPhotoshop.com is not associated in any way with Adobe, nor is an offical Photoshop website. |