Go Back   TalkBass Forums > Bass Guitar Forums > Bass Guitar Forums > Off Topic [BG]
Register Rules/FAQ/CUP Members List Search Today's Posts Mark Forums Read

Off Topic [BG] Non-music-related discussion and chat


Supporting Membership
Thank You

Latest Supporting Member
Donate to Upgrade Today

Reply
 
Thread Tools Search this Thread
  #1  
Old 12-13-2011, 02:14 PM
Registered User
 
Join Date: Dec 2007
Location: NY, NY
Send a message via AIM to GeneralElectric
Stupid web design question

Sign in to disble this ad
So I'm making a basic web page about myself so I can get some work and host other projects I've done.

Now I'm trying to get a tool bar on the left side of the screen in a column and I get figure out how without making a table. Any ideas on how to do this?
__________________
Quote:
Originally Posted by THand View Post
Really, what I keep thinking is:

put "getting drunk with GE" on bucket list:D
Taking parts donations for another Drunk Rock bass.

FS/FT
Montreux Little Buffer

Ben Lindsey Jazz
  #2  
Old 12-13-2011, 02:19 PM
bongomania's Avatar
OVNIFX

EXAR pedals rep for North & Central America
 
Join Date: Oct 2005
Location: PDX, OR
GOLD Supporting Member
You're probably looking at CSS as the next step in coding. Check out some CSS tutorials. There are fancier languages for this sort of thing of course, but no need to go that far for a toolbar.
__________________
Compressor, preamp, and EQ FAQ <--read first!
Compressor reviews / My blog / Twitter / >> Instrument cable reviews <<
New Exar Bass Compressor coming in late June/early July!
  #3  
Old 12-13-2011, 02:22 PM
tekdiver500ft's Avatar
Say something once, why say it again?
 
Join Date: May 2011
Location: Saint Johns, Michigan
Supporting Member
You almost certainly want to use CSS for tasks like this. If you're on a Mac (it might be available for Windows, too, I don't know), get "CSS Edit" to ease the task. This program will not only help you write efficient CSS, but will even teach you what does what and how to write it.
__________________
Fritz (CV #92, P&W #982, PBass #804, GB #366, RQ #13, JimmyM #5)
Louie Longoria & Cowboy Intervention
Quote:
Originally Posted by edfriedland View Post
I just want to blend into the rhythm section and play some roots and fifths.
  #4  
Old 12-13-2011, 02:25 PM
Selta's Avatar
www.HeavyMetalOpera.com

Unofficialy endorsing EBMM, Avatar Speakers
 
Join Date: Feb 2002
Location: Seattle (ish), WA
Send a message via AIM to Selta Send a message via MSN to Selta Send a message via Yahoo to Selta
Supporting Member
What's so wrong with a table? You can also do an unordered list.
__________________
Sterling 5 HH / Bongo 6 HS / Sterling 5 H
|
V

SansAmp RPM
|
V
FOH

Yes, I wear kilts from Utilikilt
  #5  
Old 12-13-2011, 03:07 PM
tekdiver500ft's Avatar
Say something once, why say it again?
 
Join Date: May 2011
Location: Saint Johns, Michigan
Supporting Member
While there is nothing "wrong" with them, tables are somewhat limited, and harder to use. With CSS, you can change the location, size, and design of the toolbar with a single line of (simple) code. You can't do that with a table.
__________________
Fritz (CV #92, P&W #982, PBass #804, GB #366, RQ #13, JimmyM #5)
Louie Longoria & Cowboy Intervention
Quote:
Originally Posted by edfriedland View Post
I just want to blend into the rhythm section and play some roots and fifths.
  #6  
Old 12-13-2011, 03:11 PM
Registered User
 
Join Date: Feb 2009
Location: Tampa, Florida, US
Send a message via AIM to sloasdaylight
You're gonna want to use a DIV, and use some CSS to code it up.

Something like this would probably be what you want:
<style>
.toolbar {
width: 150px;
float: left;
background-color: red; (this is just while you're organizing your page layout);
}
</style>

It's going to be important to make sure that you wrap your entire content area in a wrapper div.

Also to Ray, you can use tables, but they're clumsy and not designed to be used to build structural elements.
__________________
Quote:
Originally Posted by hover View Post
What man hasn't declared jihad on his tallywhakker every now and then?
Quote:
Originally Posted by Bloodhammer View Post
I'm so metal, my farts are pinch harmonics.
  #7  
Old 12-13-2011, 04:20 PM
RosieB's Avatar
Registered User
 
Join Date: Feb 2009
Supporting Member
Yes, use div tags. If you have a column on the left with your toolbar (which should be a list, btw) then your content will be enclosed in another set of div tags, essentially making 2 columns. Use id="column1" for the navigation column (same idea as sloasdaylight's .toolbar) and use CSS to float: left. Set width to whatever looks right. Then use id="column2" for the content, float: left and set width so that it stacks next to column1. If width on column2 is too wide it will go underneath column1 instead of beside. Then if you have a footer or anything you want to go underneath the columns wrap in div tags again, set an id for it and do a clear: both. This is needed to stop the column process. Let me know if you want to see exact code.
__________________
Quote:
Originally Posted by Munjibunga View Post
Having a personality disorder is not analogous to being blonde.
  #8  
Old 12-13-2011, 05:06 PM
squiresuzuki's Avatar
Registered User
 
Join Date: Jun 2011
Supporting Member
You need a CSS div. Never use tables for page structure.

Here's all the code. Just paste it into your editor and try it out.

Code:
<style type="text/css">
#left {
width: 300px;
float: left;
background-color: #a4f1ff;
padding: 10px;
}
#main {
margin-left: 30px;
width: 700px;
float: left;
background-color: #ffc67b;
padding: 10px;
}
.clear {
clear: both;
}
</style>
<div id="left">
<b>Left side div</b> Filler text... Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</div>
<div id="main">
<b>Main div</b> Filler text... Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
<div class="clear"></div>
__________________
Need a website?
  #9  
Old 12-13-2011, 06:06 PM
RosieB's Avatar
Registered User
 
Join Date: Feb 2009
Supporting Member
^ Yes, that's what I was saying. Not typing all those symbols on an iPod!
__________________
Quote:
Originally Posted by Munjibunga View Post
Having a personality disorder is not analogous to being blonde.
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Follow TalkBass on Twitter   Visit TalkBass on Facebook  

All times are GMT -6. The time now is 02:49 AM.




Copyright 2011 Talk Music Group Inc. All rights reserved.
Play guitar? Visit our new sister site TalkGuitar.com [beta]
Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.