![]() |
Help with tables (HTML)
is there a way to write text inside tables when theres an image behind?
[edit] im thinking CSS, confirm please [/edit] |
Can you not just apply a background colour to the cell, or use a colour of text that shows up? Am I missing something. Probably...
|
ok, ill explain, im using a GuiStuff interface for my site, it has a long header graphic.... instead of editing it in a GFX editor, i thought about typing text on it
can HTML or CSS do that? |
Like this:
http://www.tonwell.net You could not have a background colour to the table, and just have plain text on an image... |
just <table background="http://filenamehere.jpg">
|
Quote:
|
*starts up photoshop*
thanks guys :( |
Why the frowny face? I told you how to put text over an image in a table.
If you want it in a specific td (or tr) just go <td background="http://asdas.dasd"> |
Quote:
)o: I no understand... You could either use layers, or you could use tables like squakmax suggests... Depends whether you need the image to dynamically resize when people with different screen sizes view it. Or do we have the wrong end of the stick about what you're wanting? |
ok, you didnt understand me then, the frowny face was because i got a little dissapointed, nothing against any of you :)
[edit] 1.)Does layers relate to CSS? 2.) squak, ill try your suggestion now [/edit] [edit2] hey squak, it worked!!!! i owe you one :D [/edit2] |
Quote:
You could put them both inside of a div, and absolutely position the image\text inside of the div. That's probably not the best solution, but I really don't understand what the hell you're trying to do. You could also put them inside a div, and make the background of the div the image, and just put text inside the div. <style type="text/css"> .header { background-image: url("blah.jpg") no-repeat; } </style> ... <div class="header">...</div> |
Quote:
|
Quote:
|
an heres the result, i got TONS to still work on...
see the header on top? i planted the text like you said |
1 Attachment(s)
attachment:
|
Yay, you used tables and you're mixing layout with markup.
:( |
Quote:
|
erm, notice: DONT USE TABLES... use DIV + CSS or aT LEAST PHP!!! + CSS... TABLES AREN'T FLEXIBLE... TO SOME PEOPLE AT 800x600 this wouldn't fit right..!!!!
|
PHP is a server-side programming language, not a way of formatting websites. It is generally never needed unless you have a highly dynamic website (like a blog or forum/message board system).
Plus, you don't have to shout for somebody to hear you over the Internet. |
Uhh..
You can't make a webpage without HTML, matt. PHP + CSS wouldn't get you anywhere. PHP is a server side scripting language. //damnit |
:p
Anybody want make a little bet that matt doesn't know how to make a worthwhile program in PHP (or any standard* programming language for that matter)? (I don't know PHP myself, but I don't make it sound like I do) *standard = widely used (C/++/#, Java, PHP, Perl, Python, etc.) |
If only "die()" worked on people.
|
ohh well i guess html is the base like xml is an communication transfers...
|
"is an communication transfers..."
1: is A (not an because the next word doesnt start in a consonant). 2: You cant go from singular ("A" or "An") to plural ("transfers") |
Quote:
|
Why is another persons grammar SOOO important?
|
To properly communicate ideas.
|
Ok, you win I'm just lazy....
|
use tables, screw standards
|
| All times are GMT. The time now is 09:55. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.