|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Web Coding | |
*Facepalm* It's been too long...
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | ||||||||||||
|
Overclocker
|
Okay, SO! To make it easy for all of you trying to help.
http://www.blazextreme.com/testzone/ I'm trying to get the line thats grey to the bottom, to finish the border around my content section. It refuses to move. I used to be able to do this but I can't remember. Here's my code: Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Welcome to Blazextreme!</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<!-- Sidebars -->
<img src="images/sidebar.gif" align="left" height="100%" />
<img src="images/sidebar_r.gif" align="right" height="100%" />
<!-- Header -->
<div id="header"><img src="images/header_img.gif" align="absmiddle" width="477" height="185" /></div>
<!-- Borders[ugh] -->
<div id="bordertop">
<img src="images/border_l.gif" align="left" width="26" height="500" />
<img src="images/border_r.gif" align="right" width="26" />
<div id="borderbottom">
<!--<img src="images/border_bottom.gif" align="bottom" width="100%" height="5" />-->
</div>
</div>
<!--<img src="images/border_bottom.gif" align="top" width="100%" height="5" />-->
</body>
</html>
Code:
@charset "utf-8";
/* CSS Document */
body {
font-family: Arial, Helvetica, sans-serif;
margin: 0px;
padding: 0px;
width: 100%;
height: 100%;
background-color:#D9D9D9;
}
#header {
width: 100%;
height: 185px;
margin-left: 0px;
margin-right: 0px;
padding: 0%;
background: url('images/header_spread.gif') repeat-x;
}
#bordertop{
margin-left: 0px;
margin-right: 0px;
padding: 0px;
width: 100%;
height: 10px;
background: url('images/border_top.gif') repeat-x;
}
#borderbottom{
margin-left: 0px;
margin-right: 0px;
padding: 50px;
width: 50%;
height: 5px;
background: url('images/border_bottom.gif') repeat-x;
}
Thanks to all in advance.
__________________
I took Latty's Linux Challenge and Broke Linux! ![]() I took it again, installing a VirtualBox and Love it! ![]()
|
||||||||||||
|
|
|
|
#2 (permalink) | ||||||||||||||
|
WaterCooler
|
It has been quite a while for me but this looks pretty basic...you are trying to make it look like the top on the bottom? or extend the border past 1 screen? I think you just increase the pixels right?
__________________
Got F@H? Quote:
|
||||||||||||||
|
|
|
|
#3 (permalink) | ||||||||||
|
*cough* Stock *cough*
|
good luck i hate code.
__________________
|
||||||||||
|
|
|
|
|
#4 (permalink) | |||||||||||||
|
Overclocker
|
Quote:
Edit: Nah, not workin.
__________________
I took Latty's Linux Challenge and Broke Linux! ![]() I took it again, installing a VirtualBox and Love it! ![]()
|
|||||||||||||
|
|
|
|
#5 (permalink) | ||||||||||||||
|
WaterCooler
|
just make a new border...copy the top and put it at the bottom
![]()
__________________
Got F@H? Quote:
|
||||||||||||||
|
|
|
|
#6 (permalink) | |||||||||||||
|
Overclocker
|
Quote:
I've tried divs, I've tried aligns, vertical-aligns, everything.
__________________
I took Latty's Linux Challenge and Broke Linux! ![]() I took it again, installing a VirtualBox and Love it! ![]()
Last edited by Xero. : 10-08-08 at 01:20 AM. |
|||||||||||||
|
|
|
|
#7 (permalink) | ||||||||||||||
|
WaterCooler
|
what about not making it a border and just layer 2 blocks
![]() I know there is a way to make a square but its been years for me, let me look and see if I can find the code for bottom border lol brb.
__________________
Got F@H? Quote:
|
||||||||||||||
|
|
|
|
#8 (permalink) | ||||||||||||||
|
WaterCooler
|
you don't have a height set for your border_r.gif is that the problem?
img src="http://www.overclock.net/images/border_l.gif" align="left" width="26" height="500" img src="http://www.overclock.net/images/border_r.gif" align="right" width="26" hell man I'm just pulling crap out of nowhere now lol I don't know why its not popping out at me right away...I'm no code master but I should be able to make a border lol
__________________
Got F@H? Quote:
|
||||||||||||||
|
|
|
|
#9 (permalink) | ||||||||||||
|
Overclocker
|
I'm so damn dumb. I have to put my content and whatnot in FIRST, THEN add the bottom border...
Thanks for trying. I gotta think before I write... I'm getting tired now... XD +Rep for the effort.
__________________
I took Latty's Linux Challenge and Broke Linux! ![]() I took it again, installing a VirtualBox and Love it! ![]()
|
||||||||||||
|
|
|
|
#10 (permalink) | ||||||||||||||
|
WaterCooler
|
oh lol I was way off anyway...if you still need help you can look here, I think would have helped some...
http://www.quackit.com/html/codes/ht...ge_borders.cfm I was really glad when my HTML class ended...I remember staying up late night after night trying to get things to work right...I would get too tired to think and really mess up my code lol Thank god I will never do that as a job.
__________________
Got F@H? Quote:
|
||||||||||||||
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|