![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
In my website (www.classiccat.net) the basic layout consists of two elements: - a centered block that has a fixed with of 720 - a right-aligned Google advertising block. When the visitor has a screen that is less than 720 wide the Google block is simply pushed off the screen to the right. This is the intended behaviour. With tables it was easy to make. But I cannot find a way to get the same effect in CSS. Either it will push the advertisement below the main block (with display:inline and float) or - even worse - it will let the two overlap each other (with position:absolute). Is there a way to make this layout in CSS? |
#3
| |||
| |||
|
|
In my website (www.classiccat.net) the basic layout consists of two elements: - a centered block that has a fixed with of 720 - a right-aligned Google advertising block. When the visitor has a screen that is less than 720 wide the Google block is simply pushed off the screen to the right. This is the intended behaviour. With tables it was easy to make. Is there a way to make this layout in CSS? |
|
weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html | webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html | zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html | `-------------------------------------------------- --<--@ ------------' |
#4
| |||
| |||
|
|
On Sat, 07 Jan 2006 13:26:20 +0100, musicmouse <wimroffel (AT) planet (DOT) nl> wrote: In my website (www.classiccat.net) the basic layout consists of two elements: - a centered block that has a fixed with of 720 - a right-aligned Google advertising block. When the visitor has a screen that is less than 720 wide the Google block is simply pushed off the screen to the right. This is the intended behaviour. With tables it was easy to make. Is there a way to make this layout in CSS? You ask for simulating a table, so why don't you just do that: URL:http://home.wanadoo.nl/b.de.zoete/_test/simulating_tables.html |
#5
| |||
| |||
|
|
Barbara de Zoete wrote: You ask for simulating a table, so why don't you just do that: URL:http://home.wanadoo.nl/b.de.zoete/_test/simulating_tables.html Interesting that it only looked as you wanted after I refreshed. |
|
Try this: Clear your Fx cache and look at the page. The Ads appear below the content. Refresh and the Ads move too the right. Reproducible every time. |
|
weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html | webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html | zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html | `-------------------------------------------------- --<--@ ------------' |
#6
| |||
| |||
|
|
On Sat, 07 Jan 2006 18:28:45 +0100, Gus Richter gusrichter (AT) netscape (DOT) net> wrote: Barbara de Zoete wrote: You ask for simulating a table, so why don't you just do that: URL:http://home.wanadoo.nl/b.de.zoete/_test/simulating_tables.html Interesting that it only looked as you wanted after I refreshed. Interesting indeed, but unwanted :-) Try this: Clear your Fx cache and look at the page. The Ads appear below the content. Refresh and the Ads move too the right. Reproducible every time. Which browser? Anything special about the size of the viewport? |
#7
| |||
| |||
|
|
Anything special about the size of the viewport? |
#8
| |||
| |||
|
|
Barbara de Zoete wrote: On Sat, 07 Jan 2006 18:28:45 +0100, Gus Richter gusrichter (AT) netscape (DOT) net> wrote: Try this: Clear your Fx cache Which browser? Anything special about the size of the viewport? As I said, Fx (=Firefox) 1.5 and reproducable every time, the first time. |
|
weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html | webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html | zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html | `-------------------------------------------------- --<--@ ------------' |
#9
| |||
| |||
|
|
On Sat, 07 Jan 2006 18:28:45 +0100, Gus Richter <gusrichter (AT) netscape (DOT) net wrote: Barbara de Zoete wrote: You ask for simulating a table, so why don't you just do that: URL:http://home.wanadoo.nl/b.de.zoete/_test/simulating_tables.html Interesting that it only looked as you wanted after I refreshed. Interesting indeed, but unwanted :-) Try this: Clear your Fx cache and look at the page. The Ads appear below the content. Refresh and the Ads move too the right. Reproducible every time. Which browser? Anything special about the size of the viewport? On WinXP, with IE6.0, FF1.0PR and Op8.5 I don't see that happening at all. Cleared the cache and the history lists of the three browsers, opened the page from the www and all shows as intended the very first time the page opens. The only time the google ads get positioned after the text block is, when in IE I set the font size to the largest available. In all other occations the two blocks stay next to each other. -- ,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------. | weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html | | webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html | |zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html | `-------------------------------------------------- --<--@ ------------' |
#10
| |||
| |||
|
|
For the first time the Ads appear below the content. Refresh and the Ads move too the right. Clear your Fx cache, revisit and the Ads appear below the content. Refresh and the Ads move too the right once again. Reproducible every time. |
![]() |
| Thread Tools | |
| Display Modes | |
| |