![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Is it possible to move div against the edge of body tag? I would like to have div located in the same place on every monitor nevermind if it is high resolution or low and nevermind if it is panoramic monitor or old ordinary crt monitor or notebook monitor |
#3
| |||
| |||
|
|
Hello! Is it possible to move div against the edge of body tag? I would like to have div located in the same place on every monitor nevermind if it is high resolution or low and nevermind if it is panoramic monitor or old ordinary crt monitor or notebook monitor |
|
If so, please give me the example how to move div... |
#4
| |||
| |||
|
|
Le 11/4/09 9:46 PM, Netman a écrit : Hello! Is it possible to move div against the edge of body tag? I would like to have div located in the same place on every monitor nevermind if it is high resolution or low and nevermind if it is panoramic monitor or old ordinary crt monitor or notebook monitor Can't you only use CSS ? If so, please give me the example how to move div... A div in natural state has always its edges (left and right) against those of the body. What did you do to to that div (or to he body) if it'sn't edge to edge ? More explanations are necessary about that div and its context. -- sm |
#5
| |||
| |||
|
|
Uzytkownik "SAM" <stephanemoriaux.NoAdmin (AT) wanadoo (DOT) fr.invalid> napisal w wiadomosci news:4af23c09$0$955$ba4acef3 (AT) news (DOT) orange.fr... Le 11/4/09 9:46 PM, Netman a écrit : Hello! Is it possible to move div against the edge of body tag? I would like to have div located in the same place on every monitor nevermind if it is high resolution or low and nevermind if it is panoramic monitor or old ordinary crt monitor or notebook monitor Can't you only use CSS ? The content of div is flash or gif banner which has to be placed in the same place on every kind of monitors. |
#6
| |||
| |||
|
|
#baner { position: absolute; top: 0; left:0; width: 300px; height: 200px; } ..option { width: 100% } |
|
img id="baner" class="option" src="advertising.php" alt="" |
#7
| |||
| |||
|
|
SAM kirjoitti: #baner { position: absolute; top: 0; left:0; width: 300px; height: 200px; } ..option { width: 100% } The latter style rule is superfluous for: |
|
img id="baner" class="option" src="advertising.php" alt="" The rule for id being more specific. |
#8
| |||
| |||
|
|
Hello! Is it possible to move div against the edge of body tag? I would like to have div located in the same place on every monitor nevermind if it is high resolution or low and nevermind if it is panoramic monitor or old ordinary crt monitor or notebook monitor If so, please give me the example how to move div... Thank you in advance netman |
#9
| |||
| |||
|
|
Osmo Saarikumpu wrote: SAM kirjoitti: #baner { position: absolute; top: 0; left:0; width: 300px; height: 200px; } ..option { width: 100% } The latter style rule is superfluous for: No, it is not. |

#10
| |||
| |||
|
|
SAM kirjoitti: #baner { position: absolute; top: 0; left:0; width: 300px; height: 200px; } ..option { width: 100% } |
|
The latter style rule is superfluous for: |
|
img id="baner" class="option" src="advertising.php" alt="" The rule for id being more specific. |
![]() |
| Thread Tools | |
| Display Modes | |
| |