Large and tables/cells..how?

Reply

Join Date: Oct 2003
Posts: 185
Reputation: buddyb is an unknown quantity at this point 
Solved Threads: 1
buddyb buddyb is offline Offline
Junior Poster

Large and tables/cells..how?

 
0
  #1
Nov 17th, 2004
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
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,036
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 129
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: Large and tables/cells..how?

 
0
  #2
Nov 17th, 2004
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.
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Oct 2003
Posts: 185
Reputation: buddyb is an unknown quantity at this point 
Solved Threads: 1
buddyb buddyb is offline Offline
Junior Poster

Re: Large and tables/cells..how?

 
0
  #3
Nov 17th, 2004
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.
Dani,
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
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,036
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 129
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: Large and tables/cells..how?

 
0
  #4
Nov 18th, 2004
Image is broken
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 764
Reputation: DaveSW is on a distinguished road 
Solved Threads: 17
DaveSW's Avatar
DaveSW DaveSW is offline Offline
Master Poster

Re: Large and tables/cells..how?

 
0
  #5
Nov 19th, 2004
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
Reply With Quote Quick reply to this message  
Join Date: Oct 2003
Posts: 185
Reputation: buddyb is an unknown quantity at this point 
Solved Threads: 1
buddyb buddyb is offline Offline
Junior Poster

Re: Large Graphic and tables/cells..how?

 
0
  #6
Nov 19th, 2004
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
Reply With Quote Quick reply to this message  
Join Date: Oct 2003
Posts: 185
Reputation: buddyb is an unknown quantity at this point 
Solved Threads: 1
buddyb buddyb is offline Offline
Junior Poster

Re: Large and tables/cells..how?

 
0
  #7
Nov 19th, 2004
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
Thanks Dave, most of that I didn't understand. I'm just coming to a point where I will be getting into CSS. I will first check out the link you referenced, and then try to educate myself.
BuddyB
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 764
Reputation: DaveSW is on a distinguished road 
Solved Threads: 17
DaveSW's Avatar
DaveSW DaveSW is offline Offline
Master Poster

Re: Large and tables/cells..how?

 
0
  #8
Nov 20th, 2004
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!
Reply With Quote Quick reply to this message  
Join Date: Oct 2003
Posts: 185
Reputation: buddyb is an unknown quantity at this point 
Solved Threads: 1
buddyb buddyb is offline Offline
Junior Poster

Re: Large and tables/cells..how?

 
0
  #9
Nov 20th, 2004
:o
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.
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
Reply With Quote Quick reply to this message  
Join Date: Oct 2003
Posts: 185
Reputation: buddyb is an unknown quantity at this point 
Solved Threads: 1
buddyb buddyb is offline Offline
Junior Poster

Re: Large Graphic and tables/cells..how?

 
0
  #10
Nov 21st, 2004
I believe what is confusing me is:

URL(graphic.gif)

It seems that a link should go into this area. Otherwise, I'm missing the boat somewhere.
BuddyB
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC