|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
how do u move html to the left using css
hi,
i am trying to move my html page down and to the left using css. this is to make room for my header menu. at the moment my javascript header is over my html text. how can i use css to move my text down and to the left 50 pixels???? |
|
#2
|
|||
|
|||
|
You can try using absolute positioning. For example:
.left .right .top .bottom |
|
#3
|
|||
|
|||
|
cheers, but i have
body{position:absolute; right:100px; top:50px;} in my file.css but this does not move anything in my html file. (i know my file.css works cos if i change the color it changes in the html file). The only other thing is that i have php in my files. can u help |
|
#4
|
|||
|
|||
|
Try using the tags I mentioned and <SPAN>ing your text not the body.
|
|
#5
|
||||
|
||||
|
Re: how do u move html to the left using css
Quote:
This site will answer your question. cheers, gary
__________________
There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing. Ask a better question, get a better answer. |
|
#6
|
|||
|
|||
|
What specificly are you trying to move? Images, Text, etc.? I would suggest putting all of your HTML page in a table (except the header, which should be in a different table) and then in the table tags use:
style="position:absolute;top:150px;left50px;" That should work, and it will definitly not work in just the Body {}, use Table {} or Tr {} or Td {}. |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > how do u move html to the left using css |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|