This is a discussion on "Div outside wrap issue" within the Web Page Design section. This forum, and the thread "Div outside wrap issue are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Div outside wrap issue
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Div outside wrap issue
I'm trying to get the red 'year' tag to fit exactly on the right edge of my magazine:
www.timothy-clark.com/mag It works on my Safari but not on pc. CSS: #year { position: absolute; right: 0px; left: 775px; margin: 0 auto; padding: 0; width: 25px; } Help please. |
|
|
|
||||
|
Re: Div outside wrap issue
If only I had a PC to test on. Try something like this:
|
|
|||
|
Re: Div outside wrap issue
thanks a lot. i'll test it out and get back.
|
|
|||
|
Re: Div outside wrap issue
no, hasn't worked. that's made it do what it does on the pc, on my mac.
|
|
||||
|
Re: Div outside wrap issue
Oh, I see the problem. You can't center something that absolutely positioned. Safari is apparently more forgiving than other browsers, but that's not how CSS works.
You don't seem to have a wrapper at all. Try putting everything in the header in a wrapper. Then you'll have a foundation for the year tag to be positioned correctly. |
![]() |
| Tags |
| div |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to text wrap? | Quetzal | Web Page Design | 9 | Jun 3rd, 2008 18:58 |
| [SOLVED] Centralising a sub-wrap | Madball | Web Page Design | 10 | Nov 6th, 2007 14:43 |
| div wrap height centred | jillcary | Web Page Design | 1 | Jul 24th, 2007 16:05 |
| div wrap not working on IE pc | jillcary | Web Page Design | 5 | Jul 19th, 2007 17:33 |
| How to wrap text around a div | AdRock | Web Page Design | 6 | Sep 5th, 2006 19:02 |