Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   General Discussions (http://forums.winamp.com/forumdisplay.php?f=1)
-   -   Help with tables (HTML) (http://forums.winamp.com/showthread.php?t=202602)

kingo'mountain 20th December 2004 19:20

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]

c2R 20th December 2004 19:33

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...

kingo'mountain 20th December 2004 19:39

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?

c2R 20th December 2004 19:41

Like this:

http://www.tonwell.net


You could not have a background colour to the table, and just have plain text on an image...

squakMix 20th December 2004 19:42

just <table background="http://filenamehere.jpg">

c2R 20th December 2004 19:45

Quote:

Originally posted by squakMix
just <table background="http://filenamehere.jpg">
True, but my code above dynamically resizes the picture dependent on screen size (o;

kingo'mountain 20th December 2004 19:48

*starts up photoshop*

thanks guys :(

squakMix 20th December 2004 19:49

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">

c2R 20th December 2004 19:52

Quote:

Originally posted by kingo'mountain
*starts up photoshop*

thanks guys :(


)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?

kingo'mountain 20th December 2004 19:58

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]

ryan 20th December 2004 20:02

Quote:

Originally posted by c2R
)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?

HTML layers aren't in the w3c specification afaik.

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>

c2R 20th December 2004 20:10

Quote:

Originally posted by ryan
HTML layers aren't in the w3c specification afaik.

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>

I think I meant a DIV rather than using layers... *looks at code* - yeah..

squakMix 20th December 2004 20:21

Quote:

Originally posted by kingo'mountain
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]

:up:

kingo'mountain 20th December 2004 20:38

an heres the result, i got TONS to still work on...

see the header on top? i planted the text like you said

kingo'mountain 20th December 2004 20:39

1 Attachment(s)
attachment:

ryan 20th December 2004 21:31

Yay, you used tables and you're mixing layout with markup.

:(

xzxzzx 20th December 2004 21:34

Quote:

Originally posted by ryan
Yay, you used tables and you're mixing layout with markup.

:(

Ryan and I are now planning your death. Stay tuned for up-to-the-minute notices.

MaTTFURY 20th December 2004 21:44

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..!!!!

mikm 20th December 2004 21:50

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.

ryan 20th December 2004 21:51

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

mikm 20th December 2004 21:55

: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.)

ryan 20th December 2004 22:20

If only "die()" worked on people.

MaTTFURY 20th December 2004 23:24

ohh well i guess html is the base like xml is an communication transfers...

squakMix 21st December 2004 00:03

"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")

101 21st December 2004 00:20

Quote:

"is an communication transfers..."

1: is A (not an because the next word doesnt start in a consonant).
Whoops.

MaTTFURY 21st December 2004 00:30

Why is another persons grammar SOOO important?

shakey_snake 21st December 2004 00:56

To properly communicate ideas.

MaTTFURY 21st December 2004 00:59

Ok, you win I'm just lazy....

Mattress 21st December 2004 03:58

use tables, screw standards


All times are GMT. The time now is 09:55.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.