| | |
Large and tables/cells..how?
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Oct 2003
Posts: 185
Reputation:
Solved Threads: 1
I placed this question in Web Design forum, but this may well be the place. I have a large upside down "L" shaped graphic I want to use as part of my navbar. It runs up the left side and across the top. I want to be able to drop things in on top of it. First, to get it to work with data cells do I have to slice the image and spread it through two different tables/cells, or is layering an option for my project? I've performed the most basic HTML to my pages, so this is a bit hazy for me. Any thoughts appreciated.
BuddyB
BuddyB
First of all, I deleted your thread from the Design Layout forum. Second of all, I'm a bit hazy on what you're asking. The best way to layout your site is to design the entire thing in a program such as Adobe Photoshop. Then, slice up the image, and output as HTML. If you could give me an example of what you're asking for (it's hard for me to picture in my head), I'd be happy to slice it up for you the correct way and do the table structure for you.
•
•
Join Date: Oct 2003
Posts: 185
Reputation:
Solved Threads: 1
•
•
•
•
Originally Posted by cscgal
If you could give me an example of what you're asking for (it's hard for me to picture in my head), I'd be happy to slice it up for you the correct way and do the table structure for you.
Thanks for responding to this. Here's a sample of what I'm talking about.
http://home.comcast.net/~giddyupgilb...ker/navbar.gif
I haven't been able to get my .gif to show. I've set it up 50 ways from Sunday and nothing seems to work. Can you tell what I'm doing wrong? I've used the the img src=, quotes but nada. myfilelocker is where everything is stored on that server, so I've tried it with and without the "myfilelocker." The reason I tried it without is, I use another server where "htdocs" is my file folder, but you don't allude to it for stuff to show. I'm plum confused at this point. I would use that server but I keep getting 550 errors with my client. I can access the server, but can't do anything at the moment.
Thanks for your time, BuddyB
I'd use the css and no slicing. Actually that's a lie. I'd use css tiling and a 1px gif, backed up by a secondary div with a background for the header. But in your case, try the first option:
<style type="text/css"><!--
body { background: url(graphics/image.gif) 0 0 no-repeat; }
--></style>
Or if you want an insight into what I was talking about with slicing, then check out www.tollgatesecurity.co.uk/main.php
<style type="text/css"><!--
body { background: url(graphics/image.gif) 0 0 no-repeat; }
--></style>
Or if you want an insight into what I was talking about with slicing, then check out www.tollgatesecurity.co.uk/main.php
•
•
Join Date: Oct 2003
Posts: 185
Reputation:
Solved Threads: 1
Dani,
Let's see if this one works
http://www.eliving.com/navbar/navbar.gif
That's what I meant by the upside down "L". I will use the left side for navigation and the top for some other stuff.
Thanks,
BuddyB
Let's see if this one works
http://www.eliving.com/navbar/navbar.gif
That's what I meant by the upside down "L". I will use the left side for navigation and the top for some other stuff.
Thanks,
BuddyB
•
•
Join Date: Oct 2003
Posts: 185
Reputation:
Solved Threads: 1
•
•
•
•
Originally Posted by DaveSW
I'd use the css and no slicing. Actually that's a lie. I'd use css tiling and a 1px gif, backed up by a secondary div with a background for the header. But in your case, try the first option:
<style type="text/css"><!--
body { background: url(graphics/image.gif) 0 0 no-repeat; }
--></style>
Or if you want an insight into what I was talking about with slicing, then check out www.tollgatesecurity.co.uk/main.php
BuddyB
if you put the code in my last post into the head section of your page then it will put the image in the top left as a background. you will then just need to make sure your table lands in the right place on top.
I seem to remember having your dilemma myself a few years ago, so maybe this workaround will help. It depends how familiar you are with the code etc.
for the table cells that you want a background on, use an inline css style:
<td style="background: url(graphic.gif);">
you may want to add additional controls such as
<td style="background: url(graphic.gif) repeat-y;">
- This will tile the image down the cell. change y to x for the horizontal equivalent.
if you think of anything else you might want to do with it, just ask. Ultimately your best solution is to use css for your layout instead of tables, but hey, you've got to start somewhere!
I seem to remember having your dilemma myself a few years ago, so maybe this workaround will help. It depends how familiar you are with the code etc.
for the table cells that you want a background on, use an inline css style:
<td style="background: url(graphic.gif);">
you may want to add additional controls such as
<td style="background: url(graphic.gif) repeat-y;">
- This will tile the image down the cell. change y to x for the horizontal equivalent.
if you think of anything else you might want to do with it, just ask. Ultimately your best solution is to use css for your layout instead of tables, but hey, you've got to start somewhere!
•
•
Join Date: Oct 2003
Posts: 185
Reputation:
Solved Threads: 1
:o Dave, is this what you had in mind?
<style type="text/css"><!--
body { background: http://www.eliving.com/lightofworld/revelation101b.gif 0 0 no-repeat; }
--></style>
or
<style type="text/css"><!--
body { background: http://www.eliving.com(lightofworld/revelation101b.gif) 0 0 no-repeat; }
--></style>
Right now I'm in over my head :o And actually neither of the two work for me. So, I'm doing something incorrectly. I understand placement of the the table over the graphic, but so far..nada.
BuddyB
•
•
•
•
Originally Posted by DaveSW
if you put the code in my last post into the head section of your page then it will put the image in the top left as a background. you will then just need to make sure your table lands in the right place on top.
<style type="text/css"><!--
body { background: http://www.eliving.com/lightofworld/revelation101b.gif 0 0 no-repeat; }
--></style>
or
<style type="text/css"><!--
body { background: http://www.eliving.com(lightofworld/revelation101b.gif) 0 0 no-repeat; }
--></style>
Right now I'm in over my head :o And actually neither of the two work for me. So, I'm doing something incorrectly. I understand placement of the the table over the graphic, but so far..nada.
BuddyB
![]() |
Other Threads in the HTML and CSS Forum
- Previous Thread: Want script to make an email form
- Next Thread: Type on top of a graphic
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7







