UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  UK Web Hosting | Dedicated Server Windows and Linux VPS Forum > Services > Web Designing and Development

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 18-11-2007, 13:22
Ben Ben is offline
Premium Member
 
Join Date: Jan 2007
Location: setcookie()
Posts: 1,205
Send a message via AIM to Ben Send a message via MSN to Ben Send a message via Yahoo to Ben
Default CSS help

Okay... some of you are wondering where I've been... well I have been surfing the forums a bit in silence but lol... well here I am. Anyway, finally I have grasped margins/paddings and I am trying to make a basic layout. However, I need to stretch a gradient (if you get what I mean) on the top of my layout... which will be the navigational area. Here is my code so far - please don't complain about the internal style sheet - its only temporary.

HTML Code:
<html>
<head>
<title></title>
<style type="text/css">
div.body {
height: 33em;
margin: 3px 3px 3px 3px;
border-color: black;
border-style: solid;
border-width: 1px;
background-color: orange;
}

div.box1 {
width: 200px;
height: 200px;
overflow: auto;
padding: 3px 3px 3px 3px;
margin-top: 4em;
margin-left: 4em;
padding 3px 3px 3px 3px;
border-color: black;
border-style: double;
border-width: 3px;
background-color: white;
}

div.gradientbox {
height: 20px;
width: 1000px;
border-color: black;
border-style: solid;
border-width: 1px;
background-image: url("gradient.jpeg");
}
</style>
</head>
<body>
<div class="body"><div class="gradientbox">Text</div><div class="box1">Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text</div></div>
</body>
</html>
__________________
dynBB.com PHP Tutorials & Webmaster Help Forums - need help? find PHP tutorials, help & more @ dynBB.com forums! CSS, PHP, MySQL & more!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 18-11-2007, 13:31
WelshTom's Avatar
Moderator
 
Join Date: May 2007
Location: Newport, Wales
Posts: 892
Send a message via AIM to WelshTom Send a message via MSN to WelshTom Send a message via Yahoo to WelshTom
Default

We sent a search part out but you really had gone :P

What exaclty do you want to do - you need to clarify yourself a bit more?
__________________
Thomas Williams
JST Hosting
Freephone: 0800 622 6352
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 18-11-2007, 14:16
developmentxl's Avatar
Member
 
Join Date: Nov 2007
Location: Edinburgh
Posts: 64
Default

Replace:

background-image: url("gradient.jpeg");

With:

background: url("gradient.jpeg") repeat-x;

Should work a treat
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 18-11-2007, 14:18
Ben Ben is offline
Premium Member
 
Join Date: Jan 2007
Location: setcookie()
Posts: 1,205
Send a message via AIM to Ben Send a message via MSN to Ben Send a message via Yahoo to Ben
Default

Hello developmentxl,

Thanks for your help - both Thomas and yourself. I have the current code, but still won't work:

HTML Code:
<html>
<head>
<title></title>
<style type="text/css">
div.body {
height: 33em;
margin: 3px 3px 3px 3px;
border-color: black;
border-style: solid;
border-width: 1px;
background-color: orange;
}

div.box1 {
width: 200px;
height: 200px;
overflow: auto;
padding: 3px 3px 3px 3px;
margin-top: 4em;
margin-left: 4em;
padding 3px 3px 3px 3px;
border-color: black;
border-style: double;
border-width: 3px;
background-color: white;
}

div.gradientbox {
height: 20px;
width: 1000px;
border-color: black;
border-style: solid;
border-width: 1px;
background-image: url("gradient.jpeg") repeat-x;
}
</style>
</head>
<body>
<div class="body"><div class="gradientbox">Text</div><div class="box1">Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text</div></div>
</body>
</html>
Any ideas?
__________________
dynBB.com PHP Tutorials & Webmaster Help Forums - need help? find PHP tutorials, help & more @ dynBB.com forums! CSS, PHP, MySQL & more!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 18-11-2007, 14:20
developmentxl's Avatar
Member
 
Join Date: Nov 2007
Location: Edinburgh
Posts: 64
Default

Try using:

background:

rather than:

background-image:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 18-11-2007, 14:22
Ben Ben is offline
Premium Member
 
Join Date: Jan 2007
Location: setcookie()
Posts: 1,205
Send a message via AIM to Ben Send a message via MSN to Ben Send a message via Yahoo to Ben
Default

Ah! Works perfectly now! Thank you for your help there...
__________________
dynBB.com PHP Tutorials & Webmaster Help Forums - need help? find PHP tutorials, help & more @ dynBB.com forums! CSS, PHP, MySQL & more!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



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

Advanced Search
Display Modes

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 06:00.

 

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by Web Hosting 3.1.0
Copyright © 2001-2008, eUKhost.com. All rights reserved.

 
Site Map

VPS Hosting
VPS Hosting plans

Dedicated Server Hosting
Dedicated Server plans

Business Web Hosting
100% uptime Hosting

Cpanel Hosting
cPanel Shared Hosting

Reseller Hosting
Reseller Web Hosting

Windows Hosting
Windows Shared Hosting

Windows VPS

Windows VPS Hosting

Semi Dedicated Servers
Semi-Dedicated Hosting

Dedicated Server Mirroring
Dedicated Server Mirroring

Webhosting Knowledgebase
Frequently asked Questions

Web Hosting Blog
eUKhost Blog

Web Hosting Support
Support Helpdesk

UK Data Center
eUKhost Datacenter

Web Hosting Forum
eUKhost Forum

Support Tutorials
Online Flash Tutorials

Offsite Back-up Plans
Remote Backup Service

Customer Testimonials
eUK Customer Testimonials


knowledgebase articles

eUKhost.com Services

Pre-Sales Questions
Pre-sales FAQ's

Domain Names
Domain registration FAQ's

cPanel Hosting
cPanel Hosting FAQ's

Windows Web Hosting
Plesk Control Panel

Reseller Hosting
Reseller Hosting FAQ's

VPS Hosting
Virtual Private Server

Semi-Dedicated Servers
Semi-Dedicated FAQ's

Dedicated Servers
Dedicated Server Hosting


popular blog categories


Web Hosting
Website Hosting articles

UK Web Hosting
UK Hosting articles

Dedicated Server Hosting
Dedicated Server guidelines

VPS Hosting
VPS hosting articles

cPanel Hosting
cPanel Hosting articles

Linux Operating System
Linux Operating techniques

Windows Web Hosting
Windows plesk articles

Web Hosting
Web Hosting Service