home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 1692
Discussions: 188,401, Posts: 2,243,608, Members: 232,632
Old May 10th, 2005, 06:34 PM   Digg it!   #1 (permalink)
Member
 
Join Date: Dec 2003
Location: Cardiff/Chichester
Posts: 39
Send a message via MSN to -5H4K-
Help with my Website - JavaScript/HTML

http://5h4k.bitchinbmw.co.uk/off_top.../default6.html

Is the main page. The top frame:

http://5h4k.bitchinbmw.co.uk/off_top.../default3.html

is the page I am having my problem. I have changed the size values of each JavaScript button to a fixed % of the screen rather than fixed pixels. I want everything to be proportionate for each person's screen.

The buttons changed size fine, but I can't work out why there is a massive gap from the top of the top frame to the buttons, then front the first row of buttons to the second row of buttons. For now, I've resized the frame sizes to 35% and 65% to show all the buttons.

For this example, the rest of the links won't work. Just want the gaps gone!

I also edited out the aligning code that DreamWeaver set. That was such as <p align center> etc. There was no change when I put in <center></center> to try and simplyfy it.

Thanks to anyone who can help!


Last edited by -5H4K- : May 10th, 2005 at 06:36 PM.
-5H4K- is offline   Reply With Quote
Old May 10th, 2005, 10:21 PM     #2 (permalink)
Ultimate Member
 
Join Date: Dec 2004
Posts: 1,558
Well, here's the "fixed" code (see attachment). Rename the extension from .txt to .html (or .htm).

And about the "<center>" tag, it's actually depricated as of HTML 4.0 which means, although you can use it, you shouldn't. You should use the align attributes of another element. Personally, I use <DIV> or <SPAN>.
Attached Files
File Type: txt default3.txt (14.5 KB, 47 views)
__________________
"Be quiet, Brain, or I'll stab you with a Q-tip"
-Homer Simpson

large_nostril is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may post new threads
You may 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 On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with HTML/Javascript/Embedded WMP Stangeriffic02 General Tech Discussion 3 April 25th, 2005 09:17 PM
HTML coding/Javascript norty General Tech Discussion 4 March 6th, 2004 01:08 AM
HTML - Javascript Counter?? Creatures Webmastering and Programming 4 December 20th, 2002 09:39 PM
HTML/Javascript help needed w/our sidebar OuTpaTienT Webmastering and Programming 24 July 31st, 2002 02:11 PM
This is really cool, OSX Dock in html/javascript ChoaticWhisper Graphic Design and Digital Photography 2 July 27th, 2002 01:32 AM

Most Active Discussions
Is It Just Me? (2906)
3-days in and no threads about Gaza (161)
Unarmed man on his stomach shot by .. (6)
New Build ( Finally ) (7)
CPU wont boot (7)
Building a gaming computer advice (5)
I think I just killed my computer w.. (24)
RCA 52Inch HDTV wont turn on (5)
Folderchat Weekday thread (444)
Recent Discussions
Laptop proccesor to desktop mob.. (2)
Please help! multiple problems! (4)
RCA 52Inch HDTV wont turn on (5)
New Build ( Finally ) (7)
Common Spyware Solutions (97)
How do you move a hard-drive to.. (4)
What is the best external enclo.. (0)
Partition Magic 7.0 (Unallocate.. (17)
For cheap price and good qualit.. (1)
Blackberry Storm, Gears of War .. (1)
Core 2 Quad Q9550 system (3)
COWBOOM Ripoff! Used Laptop w/$.. (4)


All times are GMT -4. The time now is 04:22 AM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28