ClanKiller.com
https://forums.plasmasky.com/

More webdesign questions.
https://forums.plasmasky.com/viewtopic.php?f=8&t=1172
Page 1 of 2

Author:  Mole [ Sun Mar 13, 2005 3:05 pm ]
Post subject:  More webdesign questions.

Right, on the clankiller pages, I clicked non flash version, for simplicity, you have what appears to be a surounding upsidedown L shaped border type thing, spanning across the top, and down the left hand side.

That's what I want to do for my website, but I aint got a fucking clue where to start. The basic idea eventually is shown in the image I've attatched.

Give me a push in the right direction someone?

Author:  Satis [ Mon Mar 14, 2005 1:02 pm ]
Post subject: 

tables, baby. You want tables. Lots of nested happy little tables. btw, what's with all the friggin' ads? Man...I hate ads. But anyway, for a very VERY basic example:

<table width=100% height=100%>
<tr><td>Random pic</td><td colspan=2>header graphic</td></tr>
<tr><td>Menu</td><td>Content</td><td>adwords</td></tr>
<tr><td colspan=3>Bottom row of ads</td></tr>
</table>

that makes the bottom ads go all the way across the bottom of the page, underneath the menu and google adwords. If you want it exactly the way it is in your graphic, you need to nest tables.

<table width=100% height=100%>
<tr><td>Random pic</td><td colspan=2>header graphic</td></tr>
<tr><td>Menu</td><td>

Content and ads
<table width=100% height=100%>
<tr><td>content</td></tr>
<tr><td>ads</td></tr>
</table>

</td><td>adwords</td></tr>
</table>

Anyway, blah. Questions?

Author:  pevil [ Mon Mar 14, 2005 3:26 pm ]
Post subject: 

rofl he has tables. i helped him sort them out. but like me he hates them :P

Author:  Satis [ Mon Mar 14, 2005 4:27 pm ]
Post subject: 

sheesh. You can always use divs, i guess. Personally, I like tables. How can you hate tables? I'm guessing he's a frames fool. Get out of the 90s!

Author:  RB [ Mon Mar 14, 2005 4:43 pm ]
Post subject: 

Satis wrote:
sheesh. You can always use divs, i guess. Personally, I like tables. How can you hate tables?

Lol, I really like your style, Sat.

Author:  Satis [ Mon Mar 14, 2005 5:23 pm ]
Post subject: 

why, thank you very much. At least one person acknowledges my greatness. :P

Author:  Pig [ Mon Mar 14, 2005 5:46 pm ]
Post subject: 

Tables are pussy. CSS is faster and easier to manage. You can have a stylesheet handle the whole layout. You could even have the exact same info on the page, and alter the layout with the stylesheet alone.

Author:  Mole [ Mon Mar 14, 2005 7:39 pm ]
Post subject: 

Right, erm at satis, yeah I already looked at the tables option, but it means having a crap load of crap allover each document, (basically what I just got rid of with my recent php includes) so that I can just change 1 document to modify the entire webpage. My real problem lies in calling the content of the webpage. But I'm so fucking confused I can't get the words out of my head and through this keyboard.

Also, Frame suck. So ha :P ;)

at pig: Then maybe you can help me. I use CSS to control the colour and general style of my webpages, is there a way I could get ONE Cascading Style Sheet to add this "border" to all of my pages?

Author:  Satis [ Tue Mar 15, 2005 8:56 am ]
Post subject: 

hrm.....I personally still break everything into includes. Typical page

<? include("sessions_initialization") ?>
<? include("headers") ?>
<? include("top of table structure") ?>

content content content

<? include("bottom of table structure") ?>
<? include("footers") ?>

so, I do the table layout once, then I break it out into php includes. I actually only have one include on top and one on bottom, but this was just to give examples.

Author:  Pig [ Tue Mar 15, 2005 9:45 am ]
Post subject: 

If you want to use CSS, you need to use positioning and size attributes. If you google for "tableless CSS" you should find lots of relevant results.

Author:  Mole [ Tue Mar 15, 2005 4:21 pm ]
Post subject: 

Pig wrote:
If you want to use CSS, you need to use positioning and size attributes. If you google for "tableless CSS" you should find lots of relevant results.


I didn't think of multiple includes. I am so dumb.

Pig: All in good time, you and me both know that my brain no worky.

Author:  Mole [ Tue Mar 15, 2005 7:26 pm ]
Post subject: 

Right, another double post, but bleh to this too.

I've done some work on my website tonight (man I hate editing these damned pages), and so far, THIS is my structure that I'm attempting to creat (obviously, the graphics still need to be done, etc) Anyway, Notice above my nav bar on the left, there is a gap between that and what will eventually be a random image.

I've tried changing everything to "0" Border, Cellspacing, margin, you name it, i've probably tried it. Now, I got rid of (mostly)the gap between the top of the page and the banner, and between the banner and the random image, but I just can't get rid of this one.

You can view scource to get the code, and here is the code in the menutable.php

Code:
<table width="100%" height="100%">

<td class="menu" valign="top">
 

<center>
<table border="0">

<tr>
<td valign="top"><center><a href="index.php"><img src="images/home.gif" border="0" title="Back to the front page"
></a></center>
 
<center><a href="fields.php"> <img src="images/fields.gif" border="0" title="A collection of paintball field links
and locations"></a></center>
 

 
<center><a href="shop.php"> <img src="images/shops.gif" border="0" title="A collection of paintball shops from
accross the globe"></a></center>


 
<center><a href="chat.php"> <img src="images/chat.gif" border="0"  title="Chat about paintballing, Arange to meet
people for a game, or just general chat!"></a></center>
 
 

 
<center><a href="ball"><img src="images/comic.gif" border="0"  title="Get your weekly fix of ball!"></a></center>

 
<center><a href="games.php"><img src="images/games.gif" border="0"  title="Check here for online PaintBall
games!"></a></center>
 

 
<center><A HREF="/forum" target="_Blank"> <img src="images/forum.gif" border="0" title="Post
messages about Paintball here!"></A></center>

 
<center><a href="products.php"><img src="images/products.gif" border="0"  title="Info about various paintball
product available!"></a></center>


 
<center><a href="what.php"><img src="images/what.gif" border="0"  title="What is paintball???"></a></center>

 
<center><a href="freebies.php"><img src="images/freebies.gif" border="0"  title="Check here soon for free desktops and other downloads"></a></center>
 

 
<center><A HREF="adminlogin.php"> <img src="images/admin.gif" border="0" title="ADMINS
ONLY"></A></center>

 
<center><a href="links.php"> <img src="images/links.gif" border="0" title="Links from our sponsors, advertisers and other cool sites"></a>
</td>
</tr>

</table>


Any Ideas? *please be aware I don't know anything about absolute postioning, or much about CSS whatsoever. Or Php. lol.

EDIT: I'm a firefox user, IE sucks, if it looks fooked up through IE, I don't care :P Go get firefox you microsoft loving whore.

EDIT 2: Seems to be something with the images? Because the images have gaps around them, even though when I just colour in the cell in the table, it didn't have a gap. Ideas?

EDIT 3: Due to lack of forum online all day, and a little help from pevil who today decided to learn exact positioning, I did exact positioning and fixed the problem. Now I have that basic understanding, I might be able to sort it all out. But it can wait for now.

Author:  RB [ Wed Mar 16, 2005 5:51 pm ]
Post subject: 

Satis wrote:
why, thank you very much. At least one person acknowledges my greatness. :P

... rather: your ability to say "fuck off" and still be mildly polite.

Author:  RB [ Tue Mar 22, 2005 12:27 pm ]
Post subject: 

But this thema interested me a bit... what can frames and tables cannot? And inverse... ?

Author:  Satis [ Tue Mar 22, 2005 12:40 pm ]
Post subject: 

personally I dislike frames. Biggest reason is direct linking...if your site is framed, one address is all addresses, you can't go to a specific page easily. There're ways around that limitation, but it requires javascript and whatnot, which I also dislike. Tables get around that limitation.

Frames, you can scroll in separate windows. Can't do that with tables. Frames also separate the page into separate physical pages, making it alot easier to havea single menu supplied across multiple pages. PHP includes and server side includes kinda remove that advantage. I can't think of any other advantages to frames, except maybe you can do that natively in HTML, without having to use a server-side scripting lanugage.

i-frames have the advantage of being native html without the drawbacks of frames. You'd still need tables to properly utilize iframes, though. So bleh.

My take on it. :)

Page 1 of 2 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/