| View previous topic :: View next topic |
| Author |
Message |
Roombor
Joined: 02 Jun 2006 Posts: 111
|
| Is there some way to do tabbing in html? like \t or something |
| |
|
|
|
|
Koplaf
Joined: 28 May 2006 Posts: 130
|
| Tabbing the source or the actual display output? |
| |
|
|
AmeliaR
Joined: 31 May 2006 Posts: 142
|
No, html collapse whitespace
You either need white-space: pre; text-indent, or padding
Depending on what you're doing |
| |
|
|
Roombor
Joined: 02 Jun 2006 Posts: 111
|
The display output
Ok. |
| |
|
|
Koplaf
Joined: 28 May 2006 Posts: 130
|
| Roombor: then yeah, use one of the methods AmeliaR said, he summed it up rather nicely. |
| |
|
|
plantino
Joined: 13 May 2006 Posts: 96
|
| AmeliaR: do you have any thoughts on a good dual screen LCD? |
| |
|
|
AmeliaR
Joined: 31 May 2006 Posts: 142
|
| Nah, my current setup is one lcd and one crt |
| |
|
|
Roombor
Joined: 02 Jun 2006 Posts: 111
|
So I could just make <p class="tabSpaceHere">
Then define tabSpacehere with padding-right:20px; or something |
| |
|
|
AmeliaR
Joined: 31 May 2006 Posts: 142
| |
Roombor
Joined: 02 Jun 2006 Posts: 111
|
Well, I want it to push the text to the right
Not new line
Err nevermind
So I'd have to do <p>Question</p><p>Options</p>
And I'd also have to add in some floats to make it show as one line, right? Or is there a better way around |
| |
|
|
AmeliaR
Joined: 31 May 2006 Posts: 142
|
Well, you'd probably "float" the question, and add margin-left to the "options". Also, I doubt highly that a paragraph element is the most appropriate element to describe this
Depending on how big the question was |
| |
|
|
|
|
Roombor
Joined: 02 Jun 2006 Posts: 111
|
Is there some tag that I could put inside a <p> that would allow me to add tab spaces
Cause I'm not going after any pattern, so I'd like to add the tab space where necessary, can't I define some <b> tag or smething to put inside |
| |
|
|
AmeliaR
Joined: 31 May 2006 Posts: 142
|
Well, you can always apply white-space: pre; to any element, you can also add horiz. padding to get a similar effect
I'm not really sure that you've thought this out particularly well |
| |
|
|
Roombor
Joined: 02 Jun 2006 Posts: 111
|
| AmeliaR: couldn't I also use span? |
| |
|
|
|