Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
adding js / css image gallery to existing html / css page
Old 01-07-2007, 05:56 PM adding js / css image gallery to existing html / css page
MattCoops's Avatar
Ultra Talker

Posts: 423
Name: Matt Cupan
Location: Charlotte, NC
Trades: 0
I'd like to add this: http://www.dynamicdrive.com/dynamici...tbox/index.htm

to our new page design for our portfolio

tried adding but didn't work


need help in adding this

can i have 2 css pages in dir?

_____________________________

our index.html looks like:

<html>
<head>
<title>Cupan Custom Tile and Paint contractor Charlotte, NC (704)668-1386</title>
<META name="verify-v1" content="BhU0sBMeCQN0MUMVw8QgindU1zLzl5nVn6LhXenK9 zE=" />
<META NAME="keywords" CONTENT="Cupan Custom Tile & Paint, tile, paint, contractor, Charlotte, NC, North Carolina, install, estimates">
<META NAME="description" CONTENT="Cupan Custom Tile & Paint contractor in Charlotte, NC specializing in Ceramic, Porcelain, and Natural Stone tile install and repair. Interior / Exterior Paint - Free Estimates - Call (704)668-1386">
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="robots" content="index,follow">
<meta name="revisit-After" content="4 days">
<link rel="stylesheet" type="text/css" href="basic.css" />
</head>
<body>


Cupan Custom Tile & Paint, Charlotte tile contractor, North Carolina painting, free estimates<BR>

<div id="first_container">
<div id="second_container">
<div id="third_container">


<ul id="menu">
<li><a href="Contact.html">Contact</a></li>
<li><a href="Gallery.html">Portfolio</a></li>
<li><a href="Tools.html">Tools</a></li>
<li><a href="Services.html">Services</a></li>
<li><span id="menuselected">About Us</span></li>
</ul>

<div class="title"></div>
<div class="border">
<div class="content">
<h1>Cupan Custom Tile & Paint</h1>
<div class="text">
Tile and Paint contractor serving Charlotte, NC and surrounding areas.<br>
Ceramic, Porcelain, and Stone tile installation and repair. Interior and Exterior painting.<br>
Get <A HREF="Contact.html">FREE Estimate</a> for your project. <A Href="Contact.html"><img src="images/Estimate.png" alt="Contact us for a free estimate" border="0"></a>
<br/><br/>
<span class="note">
Whether you're remodeling a kitchen or bath, tiling a backsplash, setting floor tile, installing crown mouldings, finishing a basement, cleaning and staining a deck, or painting your house - we've got you covered as a quality contractor you can trust.<br><br>
</span>

<br>
<br>
Cupan Custom Tile & Paint :: Charlotte, NC :: (704)668-1386 :: www.CupanTileAndPaint.com :: mcupan@lycos.com<br><br>
</div>

</div>
</div>

<div class="designinfo">
Cupan Custom Tile & Paint | Charlotte, NC | (704)668-1386<br>
<br>
<br>

</div>

</div>
</div>
</div>

</body>

</html>

________________________________________

and,


our basic.css looks like:


html
{
overflow: hidden;
height: 99%;
}

body
{ background: rgb(154, 205, 50);
height: 99%;
margin: 0;
padding: 0;
line-height: 150%;
text-align: center;
}
*
{
font-size: 8pt;
font-family: Tahoma, Verdana, sans-serif;
color: #000000;
text-align: left;
}
.list
{
margin: 5px;
border-top: 1px solid white;
border-bottom: 1px solid white;
}


/* === Containers === */

#first_container
{
margin: 0 auto 0 auto;
display: table;
height: 100%;
position: relative;
overflow: hidden;
width: 660px;
}
#second_container
{
position: absolute;
top: 50%;
vertical-align: middle;
width: 100%;
}
#third_container
{
position: relative;
top: -163px;
width: 660px;
}

/* === Menu === */

#menu
{
height: 31px;
padding-right: 2px;
margin: 0;
list-style: none;
}
#menu li
{
float: right;
display: block;
width: 82px; height: 31px;
}
#menu a
{
display: block;
width: 82px; height: 31px;
background-color: inherit;
text-decoration: none;
line-height: 31px;
text-align: center;
}
#menu a:link, #menu a:visited
{
color: #749942;
background-color: #9acd32;
}
#menu a:hover, #menu a:active
{
background-image: url('images/taba2.jpg');
color: #ffffff;
}
#menuselected
{
display: block;
width: 82px; height: 31px;
background-image: url('images/taba.jpg');
text-decoration: none;
line-height: 31px;
color: #ffffff;
text-align: center;
}

/* === Tile & Paint === */

#submenu
{
float: left;
height: 31px;
width: 300px;
padding-left: 10px;
margin: 0;
list-style: none;
}
#submenu li
{
float: left;
display: block;
width: 82px; height: 31px;
}
#submenu a
{
display: block;
width: 82px; height: 31px;
background-color: inherit;
text-decoration: none;
line-height: 25px;
text-align: center;
}
#submenu a:link, #submenu a:visited
{
color: #749942;
background-color: #9acd32;
}
#submenu a:hover, #submenu a:active
{
background-image: url('images/tabb2.jpg');
color: #ffffff;
}
#submenuselected
{
display: block;
width: 82px; height: 31px;
background-image: url('images/tabb.jpg');
text-decoration: none;
line-height: 25px;
color: #ffffff;
text-align: center;
}

/* === Other Divs === */


.border
{
background-color: #ffd700;
padding: 15px 15px 15px 146px;
height: 232px;
background-image: url('images/back.jpg');
background-repeat: no-repeat;
background-position: center center;
text-align: left;
}
.title
{
position: absolute;
margin-left: 15px;
margin-top: 15px;
width: 32px;
height: 215px;
background-image: url('images/cupan.gif');
}
.content
{
height: 217px;
overflow: auto;
padding: 7px;
}
.designinfo
{
margin-top: 5px;
text-align: right;
color: #749942;
background-color: inherit;
}

/* === Inline Text Styles === */

h1
{
margin: 10px 0 -40px -2px;
padding: 0 10px 40px 9px;
font-size: 16px;
color: #ffffff;
background-color: inherit;
border-left: 5px solid rgb(211, 226, 195);
}
.details
{
display: none;
font-size: 9px;
color: #6E7468;
}
.text
{
display: block;
margin: 5px 5px 20px 12px;
}
.text a
{
color: #ffc125;
text-decoration: none;
font-weight: bold;
}
.text a:hover, .text a:active
{
color: #000000;
}
blockquote
{
margin: 3px 0 3px 0;
padding: 5px 10px 5px 10px;
}
.note
{
display: block;
margin: 10px 15px 10px 15px;
color: #006400;
}
.bold
{
font-weight: bold;
}
__________________
Matt - Tweeting
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

read my
Please login or register to view this content. Registration is FREE
MattCoops is offline
Reply With Quote
View Public Profile Visit MattCoops's homepage!
 
 
Register now for full access!
Old 01-07-2007, 11:47 PM Re: adding js / css image gallery to existing html / css page
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Yes, you can have multiple stylesheets on a page.

You will find more help on Lightbox here:
http://www.huddletogether.com/projects/lightbox/
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to adding js / css image gallery to existing html / css page
 

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

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11794 seconds with 12 queries