|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I know this is problem a common error, but I can't figure it out. On IE for PC, the alignment of my divs within my main content are all going far right instead of centering on the page. I'm working on a mac and this looks fine in IE for mac, as well as firefox and safari, but I don't have access to a PC. When I check it out in browsershots, I find the errors.
If you pull it up in firefox 1st, you'll see what I mean. I think it's something with text-align. Any help is greatly appreciated! Here it is: Custom Web Design by Simply Fresh Web Designs Thanks! |
|
||||
|
Glad you got it working, there a still a few errors though...
Move the title above the meta tags. There is no <u> tag. If you want that underlined then do it with CSS. text-decoration:underline; style="color:white; text-align:center" < this should be a class - keep styling and markup seperate! The final </div> is not required. Also you need to check your page and how the text resizes - accessibility. The green box doesnt expand with the text! |
|
|||
|
Thanks for checking it out again! I'm going to try to make those changes today and will post when I do. If you wouldn't mind, I'd love for you to take one more look.
Again, much appreciated!! BTW - I didn't know you can expand the box with the text.. I'll have to figure that out! |
|
|||
|
I made the corrections. I definitely have to move away from inline styling...for a quick fix, it's easier!
Regarding the box, it's an image. Is there a way to make rounded corners in CSS so not to assign a height? Thanks! |
|
||||
|
There are at least 25 different ways to make rounded corners using CSS. You should be able to find what you need at:
25 Rounded Corners Techniques with CSS Good Luck!
__________________
. Printer ink & toner cartridges in Canada | Web Payroll, online HR tools, time & attendance |
|
||||
|
Well you only want the box to expand vertically so you need the code to have the right number of elements to apply the css to.
You need the top two corners then the middle to repeat and then the bottom two corners as images. So thats images to apply to three elements. <div id=topCorners"> <div id="botCorners"> <p>Content here to expand<p> </div> </div> CSS should be something like: #topCorners { background: url(images/topcorners.gif) top no-repeat; } #topCorners p { background: url(images/leftandrightsides.gif) repeat-y; } #botCorners { background: url(images/bottomcorners.gif) bottom no-repeat; } The middle image can be 1px high and will repeat with the content of the paragraph. You'll find that this most likely wont all align correctly so you may have to play with the margin and padding a bit. Set it to 0 on all three elements and then see how it behaves before you adjust them. |
|
|||
|
That was so helpful, thank you! I didn't get it at first, but then it clicked. Can you check it out again?
Can you tell me how I can get the footer to stick at the bottom? I've tried a few hacks I've come across, but can't seem to get it right. Again, I can't tell you how much I appreciate your help! |
|
||||
|
Wow thats looking great
Normally if you have divs floating above the footer like so: <div id="header"></div> <div id="left></div> <div id="right"></div> <div id=footer"></div> So you have the #left column floating left and the #right floating right. You would then use #footer { clear:both; } to clear both of the left and right floating columns. That way the footer sticks below the floating columns even if they resize with the text. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| alignment of flash in html | vaidhee | Web Programming Discussion Forum | 1 | 02-29-2008 05:05 AM |
| MSIE 6 Font Problem | webmasterjunkie | IT Discussion Forum | 2 | 05-05-2005 03:07 PM |
| Help ... Alignment screwed up BAD! | designflaw | Graphics & Design Discussion Forum | 1 | 10-03-2004 02:22 PM |
| Alignment question | schoener | Graphics & Design Discussion Forum | 6 | 03-26-2004 08:43 PM |
| Alignment Issues | technica | Graphics & Design Discussion Forum | 12 | 03-12-2004 03:40 PM |
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |