CSS Problem - Background repeat & Max/Min Width
I have the problem at lower resolutions that the content div sticks out of the main document.
Or in fact, the content isnt sticking out, its the background repeat that is in the right of the screen thats pushed into the doc.
And also the background repeat isnt always repeating till bottom. It doesnt matter how big a negative margin is.
How can i let the background repeat right stick to the end of the document instead of the width of screen?
How can i let the repeat continue so it goeas all the way down?
Here's the CSS:
@charset "utf-8";
/* CSS Document */
/* Main Floats */
html,body {
height:auto;
min-width:800px;
width:auto;
background: #FFFFFF url(../Art/Background.png) no-repeat center;
background-attachment:fixed;
color:#000;
margin:auto;
#BackGrRepeat1{
float:right;
height:auto;
width:auto;
min-width:800px;
background: transparent url(../Art/greenfade_right.png) repeat-y right top;
background-attachment:fixed;
margin-right:-0px;
margin-top:-10px;
margin-bottom:-150px;
#BackGrRepeat2{
float:left;
height:auto;
width:auto;
min-width:800px;
background: transparent url(../Art/greenfade_left.png) repeat-y left top;
background-attachment:fixed;
margin-left:-0px;
margin-top:-10px;
margin-bottom:-150px;
#WContainer{
margin: 10px auto;
width:80%;
background:none;
min-height:50%;
line-height: 130%;
#WHeader{
padding: .5em;
.TabbedPanelsContentGroup{
min-width:600px;
.VTabbedPanels .TabbedPanelsTabGroup {
float: left;
width: 172px;
background: none;
margin: 0;
margin-left:-3em;;
.VTabbedPanels .TabbedPanelsContentGroup {
margin-left: 172px;
min-height:18em;
padding: 2em;
border-left: solid 1px #999;
border-bottom: solid 2px #999;
border-top: solid 1px #999;
border-right: solid 2px #999;
#WFooter{
clear: both;
margin: 0;
padding: .5em;
/* Text Styles */
h1{
font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif; color:#05692E;
font-weight: bold;
font-style:italic;
font-size: 3em;
line-height:105%;
h2{
font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif; color:#078330;
font-weight: bold;
font-size: 2em;
line-height:105%;
p{
font-family: "Verdana", verdana, arial, helvetica, sans-serif;
font-size: 1em;
margin-top: 0;
.small{
font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif;
font-size: .7em;
text-align:center;
/* Menu Buttons */
.TabbedPanelsTabGroup ul{
list-style-type: none;
padding: 0px;
margin: 0px;
.TabbedPanelsTabGroup li{
list-style-type: none;
padding: 0px;
margin: 0px;
.Button a{display:block;}
.Button a:hover{background-position:left bottom;}
a.Button {display:none}
/* Text Images */
.floatright
float: right;
width: 100%;
margin: 5px auto;
background-color: #fff;
padding: 5px;
border-top: 1px solid #999;
border-right: 2px solid #555;
border-bottom: 2px solid #555;
border-left: 1px solid #999;
div.floatright img
border-top: 2px solid #555;
border-right: 1px solid #999;
border-bottom: 1px solid #999;
border-left: 2px solid #555;
.floatleft
float: left;
width: 100%;
margin: 5px auto;
background-color: #fff;
padding: 5px;
border-top: 1px solid #999;
border-right: 2px solid #555;
border-bottom: 2px solid #555;
border-left: 1px solid #999;
div.floatleft img
border-top: 2px solid #555;
border-right: 1px solid #999;
border-bottom: 1px solid #999;
border-left: 2px solid #555;
/* Message Screens */
#message{
margin: 50px;
min-height:18em;
padding: 2em;
border-left: solid 1px #999;
border-bottom: solid 2px #999;
border-top: solid 1px #999;
border-right: solid 2px #999;
I think you're going about this the wrong way. When you float content, it is removed from the normal flow. That's why your floated right background doesn't reach page bottom.
Look at this DEMO of a centered liquid layout page.View source in browser.
http://alt-web.com/TEMPLATES/CSS2-Liquid-Page.shtml
Using my demo as an example, you could place a repeating, solid light-green image in the body to give the page its borders. Add another repeating background to the #wrapper division.
Add a 3rd background image or light color to the #content division.
Use floats for sidebar content only.
Hope this helps.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
http://alt-web.blogspot.com
Similar Messages
-
Crop and use as background (repeat option)
Hi
I want to use on a section in my page (section height 720px) this background:
How should i crop it ?
I was thinking of height 720px and width 2px, is that ok?
ThanksExactly.
In css, the background-repeat options are essentially for confining the repeat to either the x or y axis or not repeating at all. The default is to repeat indefinitely.
The background-attachment settings basically allow you to fix the background so it doesn't scroll with the content of an element with a scroll bar. The default is to scroll with the content.
The background-position settings allow you to set where in the element the background appears, if you're limiting the number of repeated images you have, it can be used to center a single image horizontally and vertically within the element for example. The default is to start in the upper left corner of the element.
Those are the basics, there are nifty effects you can create by combining different settings that you can look into, but the default for background-image is to repeat horizontally and vertically forever always filling the entire background of the given element. -
Problem with css in creating repeat-y bckgnd
Hi, I'm trying to put a background that repeats vertically
below an image at the top of the webpage, so that the top image
looks like one long continuous line as you scroll down. I selected
the image at the top of the page, and then inserted the div tag for
the background image to repeat. I made sure wrap around selection
was on. In Dreamweaver, you can see the background below the image,
just where I want it. But when I preview in browser (both Firefox
and Safari), I don't see the background, just the image at the top.
Why is the background still invisible??
Here is my css:
#bannerright {
position: absolute;
top: 0px;
left: 225px;
#bg {
background-image: url(../images/navbar.jpg);
background-repeat: repeat-y;
background-position: left;
left: 0px;
#bannerleft {
position: absolute;
left: 0px;
top: 0px;
background-image: url(../images/navbar.jpg);
background-repeat: repeat-y;
#backgroundnav {
position: absolute;
height: 100%;
left: 0px;
top: 0px;
background-image: url(../images/navbar.jpg);
background-repeat: repeat-y;
width: 100%;
And here is the html:
<!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=iso-8859-1" />
<title>Home</title>
<link href="layout.css" rel="stylesheet" type="text/css"
/>
</head>
<body>
<div id="bannerleft">
<div id="backgroundnav"><img
src="../images/banner_lft.jpg" width="225" height="198"
/></div>
</div>
<div id="bannerright"><img
src="../images/banner_rt.jpg" width="475" height="198"
/></div>
</body>
</html>
I am using a Mac Book Pro, with Dreaweaver MX 2004. Thanks in
advance.
RoseYour <div id="bannerleft"> will only be as tall as the
content within it. In this case you only have an image with the
height of 198px contained within the div and an image within the
<div="backgroundnav"> of unspecified height. Therefore the
background image that you have applied to it will only repeat for
198px or the height of the navbar.jpg if that image is taller than
198px. Basically the background image (navbar.jpg) in
<div="backgroundnav"> will be obscured by the banner_lft.jpg.
If you want a background image to repeat vertically (y-axis)
further than the div it contains then you must specify a div of an
appropriate height or include more content within the contained
divs to force the height.
Additionally, absolutely positioned divs take their reference
point for positioning from their nearest positioned ancestor. In
the absence of a positioned ancestor the div takes it reference
point from the html element.
regards
Nick Barling
www.barkingweb.com -
Im working on Dreamweaver MX
The code in my CSS sheetis:
border: 1px solid #669999;
background-attachment: scroll;
background-image: url(/assets/pictures/lama_border1.gif);
background-repeat: no-repeat;
background-position: left top;
There's grey square appears instead of the image.
I use a custom class.
Before everything was ok.Nobody will have any idea what you are describing without
seeing the full
page. Can you post a link to it, please?
> background-attachment: scroll;
> background-position: left top;
There's no need for these two styles - the first and the
second are a
restatment of the default.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Prizmo" <[email protected]> wrote in
message
news:eovgkc$13g$[email protected]..
> Im working on Dreamweaver MX
> The code in my CSS sheetis:
>
> border: 1px solid #669999;
> background-attachment: scroll;
> background-image:
url(/assets/pictures/lama_border1.gif);
> background-repeat: no-repeat;
> background-position: left top;
>
> There's grey square appears instead of the image.
>
> I use a custom class.
>
> Before everything was ok.
> -
CSS shorthand background problem
Like many of you I'm sure, I prefer to write shorthand CSS.
In
Preferences I have shorthand checked for all five options and
"When
editing CSS rules" set to "According to settings above."
However when I try to write a shorthand background rule it
doesn't work.
I prefer to write my background as:
background: #fff url(../images/quoteleft.jpg) left top
no-repeat;
I should be able to type:
background: c
...and have DW's color swatch functionality kick in, then
url, then
browse, etc. But the only options it gives me are:
background-color
background-attachment
background-image
background-position
background-repeat
inherit
Does anyone know how to get DW's CSS shorthand working
properly?Have you tried right clicking at that point?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"ryansebiz" <[email protected]> wrote in
message
news:errb96$od$[email protected]..
> Like many of you I'm sure, I prefer to write shorthand
CSS. In Preferences
> I have shorthand checked for all five options and "When
editing CSS rules"
> set to "According to settings above."
>
> However when I try to write a shorthand background rule
it doesn't work. I
> prefer to write my background as:
>
> background: #fff url(../images/quoteleft.jpg) left top
no-repeat;
>
> I should be able to type:
>
> background: c
>
> ...and have DW's color swatch functionality kick in,
then url, then
> browse, etc. But the only options it gives me are:
>
> background-color
> background-attachment
> background-image
> background-position
> background-repeat
> inherit
>
> Does anyone know how to get DW's CSS shorthand working
properly? -
Why does one CSS min-width work and the other does not?
In order to deal with different browser/screen widths, I put a min-width on both the light-colored box that contains the images and article text on my Web pages and also on the text itself. When I test this in Firefox, IE8 and Chrome, only the container box shrinks. The article text area width does not narrow when I shrink the browser window. Any tips?
http://www.keithpurtell.com/kthings/bj-cole.htmIn Edge Animate is being created is a note with debug information:
[0531/123810: INFO: dhcp_proxy_script_adapter_fetcher_win.cc (267)] Error fetching URL from DHCP PAC 2
But before creating the next note -debug :
[ 0531 / 114728 : INFO : dhcp_proxy_script_adapter_fetcher_win.cc ( 267 )]
Error fetching URL from DHCP PAC 2
[ 0531 / 114739 : INFO : dhcp_proxy_script_adapter_fetcher_win.cc ( 267 )]
Error fetching URL from DHCP PAC 2
[ 0531 / 120215 : ERROR : ipc_channel_win.cc (401 )]
pipe error: 232
[ 0531 / 120441 : INFO : dhcp_proxy_script_adapter_fetcher_win.cc ( 267 )]
Error fetching URL from DHCP PAC 2
[ 0531 / 120452 : INFO : dhcp_proxy_script_adapter_fetcher_win.cc ( 267 )]
Error fetching URL from DHCP PAC 2
[ 0531 / 120555 : INFO : dhcp_proxy_script_adapter_fetcher_win.cc ( 267 )]
Error fetching URL from DHCP PAC 2
[ 0531 / 121234 : INFO : dhcp_proxy_script_adapter_fetcher_win.cc ( 267 )]
Error fetching URL from DHCP PAC 2
[ 0531 / 121251 : INFO : dhcp_proxy_script_adapter_fetcher_win.cc ( 267 )]
Error fetching URL from DHCP PAC 2
[ 0531 / 121702 : INFO : dhcp_proxy_script_adapter_fetcher_win.cc ( 267 )]
Error fetching URL from DHCP PAC 2
[ 0531 / 121713 : INFO : dhcp_proxy_script_adapter_fetcher_win.cc ( 267 )]
Error fetching URL from DHCP PAC 2
[ 0531 / 121827 : INFO : dhcp_proxy_script_adapter_fetcher_win.cc ( 267 )]
Error fetching URL from DHCP PAC 2
[ 0531 / 122023 : ERROR : ipc_channel_win.cc (401 )] pipe error: 232
But I do not know what it means or what to do.
Thank you for your help -
CSS problems in CS4 with multiple images on a page...
I seem to have a ton of questions going in this forum, sorry if it's painful.
Here's my latest issue.(DW CS4)
I created a blank html page and linked a CSS file to it. I dropped a bunch of images into the body and wrapped them in a div with an id of "thumbnails"
I clicked on my img tag right below the Design window and clicked the "new css rule" button in the CSS Styles window and gave my images a margin of 40 px. I clicked "OK" and my changes took effect in the Design window, but when I previewed it in the browser (Firefox and IE) none of the CSS was taking effect, all the images were still crammed together. Same thing for the "Live View" Button, I'm not sure what happened, or why the CSS won't take effect.
Can somebody help me?
Thanks all,
AzaMy HTML follows-----
<!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>Untitled Document</title>
<link href="../CssFiles/oneColLiqCtrHdr.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="oneColLiqCtrHdr" id="Thumbnails"><img src="../images/Jewelry/Thumbnails/T_Bracelets/Bellarri_ColoredStone_Over10k_1.jpg" width="166" height="150" alt="Bellari" /><img src="../images/Jewelry/Thumbnails/T_Bracelets/CynthiaGregg_Gold_Over5k_1.jpg" width="178" height="150" alt="Cynthia Gregg" />
<img src="../images/Jewelry/Thumbnails/T_Bracelets/FrankRuebel_BestBracelet_2501_5k_1.jpg" width="150" height="150" alt="Frank Ruebel" />
<img src="../images/Jewelry/Thumbnails/T_Bracelets/Gabriel_BestBracelet_2501_5k_1.jpg" width="156" height="150" alt="Gabriel" />
<img src="../images/Jewelry/Thumbnails/T_Bracelets/GeralynSheridan_FashionBridge_500Under_1.jp g" width="178" height="150" alt="Geralyn Sheridan" />
<img src="../images/Jewelry/Thumbnails/T_Bracelets/Jyes_Legends_Over5k_1.jpg" width="150" height="150" alt="Jyes Legends" />
<img src="../images/Jewelry/Thumbnails/T_Bracelets/Maevona_BestBracelet_5001_10k_1.jpg" width="166" height="150" alt="Maevona" />
<img src="../images/Jewelry/Thumbnails/T_Bracelets/SalPraschnik_Legends_Over5k_1.jpg" width="208" height="150" alt="Sal Praschnik" />
<img src="../images/Jewelry/Thumbnails/T_Bracelets/Sara_BestBracelet_Over10k_1.jpg" width="156" height="150" alt="Sara" />
<img src="../images/Jewelry/Thumbnails/T_Bracelets/Starhaven_Silver_501_1k_1.jpg" width="166" height="150" alt="Starhaven" />
<img src="../images/Jewelry/Thumbnails/T_Bracelets/SylvaCie_BestBracelet_Over10k_1.jpg" width="150" height="150" alt="Sylva Cie" /></div>
</body>
</html>
*************CSS FOLLOWS********************
@charset "utf-8";
body {
background: #666666;
margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
padding: 0;
text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
color: #000000;
background-color: #000000;
#jewelryFrame {
font-family: Georgia, "Times New Roman", Times, serif;
color: #CCC;
#jewelryFrame p {
font-size: 12px;
padding-bottom: 75px;
.oneColLiqCtrHdr #container {
width: 100%; /* this will create a container 80% of the browser width */
background: #FFFFFF;
margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
border: 1px solid #000000;
text-align: center; /* this overrides the text-align: center on the body element. */
background-color: #000000;
max-width: 960px;
min-width: 800px;
.oneColLiqCtrHdr #header {
background: #DDDDDD;
padding: 0;
width: 960px;
height: 141px;
background-color: #000000;
color: #CCA4A5;
font-size: 11px;
font-style: normal;
font-family: Goudy Old Style;
background-image: url(../images/CPJ-Header.png);
.oneColLiqCtrHdr #header h1 {
margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
padding: 30px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
color: #FFFFFF;
#navbar {
background: #999999;
height: 29px;
width: 960px;
background-color: #000000;
background-image: url(../images/CPJ-NavLT.png);
background-repeat: repeat;
.oneColLiqCtrHdr #container #navbar img {
border-width: 0px;
border-style: 0;
border: 0;
#sideBarLeft {
float: left;
width: 30%;
height: 100%;
min-width: 250px;
padding-top: 50px;
padding-left: 40px;
padding-right: 40px;
.oneColLiqCtrHdr #container #sideBarLeft p {
text-align: justify;
font-size: 12px;
.oneColLiqCtrHdr #container #sideBarLeft h2 {
font-size: 14px;
.oneColLiqCtrHdr #container #sideBarLeft h1 {
font-size: 24px;
.oneColLiqCtrHdr #container #sideBarLeft {
color: #CCC;
padding-top: 15%;
padding-bottom: 15%;
.oneColLiqCtrHdr #mainContent {
padding: 0 60px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
background: #FFFFFF;
background-color: #000000;
color: #969696;
font-family: "Goudy Old Style";
font-size: 18px
text-align: center;
vertical-align: middle;
min-height: 500px;
.oneColLiqCtrHdr #container #mainContent p {
font-family: "Goudy Old Style";
font-size: 18px;
.oneColLiqCtrHdr #container #mainContent h1 {
padding: 0px;
font-family: Georgia, "Times New Roman", Times, serif;
color: #969696;
font-family:"Goudy Old Style";
font-size:36px;
.oneColLiqCtrHdr #container #mainContent h6 {
font-family: Arial, Helvetica, sans-serif;
font-size: 72px;
font-weight: bold;
vertical-align: middle;
line-height: normal;
color: #CCC;
.oneColLiqCtrHdr #container #mainContent #staticprivacy h3 {
padding: 0px;
#jewelryFull {
padding-top: 25px;
padding-right: 0px;
padding-bottom: 25px;
padding-left: 0px;
font-family: Georgia, "Times New Roman", Times, serif;
float: none;
width: 100%;
max-width: 960px;
background-image: url(../images/CPJ--MainBG_slice_15.png);
.oneColLiqCtrHdr #container #mainContent #jewelryFull {
font-family: Arial, Helvetica, sans-serif;
color: #CCC;
.oneColLiqCtrHdr #container #mainContent #jewelryFull img {
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color: #CCC;
border-right-color: #666;
border-bottom-color: #666;
border-top-width: medium;
border-right-width: medium;
border-bottom-width: medium;
border-left-width: medium;
margin-top: 25px;
.oneColLiqCtrHdr #container #mainContent #jewelryFull p {
text-align: justify;
margin-top: 0px;
font-size: 10px;
.oneColLiqCtrHdr #container #mainContent #mycarousel {
text-align: center;
height: 500px;
.oneColLiqCtrHdr #footer {
padding: 0; /* this padding matches the left alignment of the elements in the divs that appear above it. */
background:#DDDDDD;
background-image: url(../images/CPJ-Red-Footer.png);
height: 63px;
width: 960px;
vertical-align: top;
list-style-type: none;
clear: both;
#BottomNav {
font-family: "Arial Black", Gadget, sans-serif;
font-size: 11px;
color: #CCC;
height: 100%;
margin: 0;
.oneColLiqCtrHdr #container #footer #BottomNav ul {
list-style-type: none;
.oneColLiqCtrHdr #container #footer #BottomNav ul li {
display: inline;
.oneColLiqCtrHdr #container #footer #BottomNav ul li a {
list-style-type: none;
list-style-image: none;
float: right;
padding-right: 45px;
color: #969696;
text-decoration: none;
font-weight: 500;
font-family: Arial, Helvetica, sans-serif;
padding-top: 10px;
.oneColLiqCtrHdr #footer p {
margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
padding: 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
color: #FFF;
text-align: right;
font-family: Tahoma, Geneva, sans-serif;
font-size: 12px;
#quotes {
text-align: center;
margin-right: 65px;
float: none;
#quoteright {
text-align: right;
margin-right: 65px;
#quotesleft {
text-align: left;
text-indent: 65px;
#companyTitle {
font-family: "Lucida Console", Monaco, monospace;
font-size: 24px;
#medImageArea {
width: 100%;
height: 50px;
#Thumbnails img {
padding: 40px;
************Thank you**************** -
Css problem in media for ipod and mobile
I have a problem applying code for a menu on a webpage.
I have posted the site example on www.tdrd.karoo.net
and the complete zip at www.tdrd.karoo.net/index.zip
I have applied the effect fine for the Full screen model media section of responsive.css but when I try to tailor the menu for the smaller resolutions it is only adjusting it for the full screen version.
I have applied the middle resolution in the example uploaded but for some reason it is not applying it to the model.
Please can anyone shed light as why this could be - the clue has to be somewhere in the nav section of the css....
Thank you
TerryCut/paste in new Dreaweaver document, view in browser.
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<title>Naeci Payroll</title>
<script src="http://www.tdrd.karoo.net/js/jquery1-7-2.min.js"></script>
<script src="http://www.tdrd.karoo.net/js/respond.min.js"></script>
<script>
$(function() {
var pull = $('#pull');
menu = $('nav ul');
menuHeight = menu.height();
$(pull).on('click', function(e) {
e.preventDefault();
menu.slideToggle();
$(window).resize(function(){
var w = $(window).width();
if(w > 320 && menu.is(':hidden')) {
menu.removeAttr('style');
</script>
<script>
window.onload=
window.onresize=function(){
var width = document.getElementById('header').offsetWidth;
document.getElementById('header').style.height = width*22/100 + 'px'
</script>
<style>
@charset "utf-8";
/* Simple fluid media
Note: Fluid media requires that you remove the media's height and width attributes from the HTML
img, object, embed, video {
max-width: 100%;
/* IE 6 does not support max-width so default to width 100% */
.ie6 img {
width:100%;
Dreamweaver Fluid Grid Properties
dw-num-cols-mobile: 5;
dw-num-cols-tablet: 8;
dw-num-cols-desktop: 12;
dw-gutter-percentage: 10;
/* Mobile Layout: 480px and below. */
.gridContainer {
margin-left: auto;
margin-right: auto;
width: 98.1818%;
padding-left: 0.909%;
padding-right: 0.909%;
#header {
position:relative;
background: url(http://www.tdrd.karoo.net/img/refinery.jpg);
background-size: 100% 100%;
nav {
display: block;
width: 100%;
background: #455868;
font-size: 11pt;
font-family: 'PT Sans', Arial, sans-serif;
font-weight: bold;
nav ul {
padding: 0;
margin: 0;
width: 100%;
nav li {
padding: 0;
margin: 0;
list-style: none;
nav a {
color: #fff;
display: block;
padding: 0 0 0 15px;
border-bottom: 1px dotted #fff;
width: 100%;
text-decoration: none;
line-height: 40px;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
nav li:last-child a {
border-bottom: none;
nav a:hover {
color: #FFF;
background-color: #8c99a4;
nav ul {
display: none;
/* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */
@media only screen and (min-width: 481px) {
/* Desktop Layout: 769px to a max of 1232px. Inherits styles from: Mobile Layout and Tablet Layout. */
@media only screen and (min-width: 769px) {
/* nav styles */
nav {
clear: both;
overflow: hidden;
nav li {
display: inline;
float: left;
width: 20%;
nav a {
color: #fff;
display: block;
border-bottom: 0;
text-align: center;
border-right: 1px solid #576979;
nav li:last-child a {
border-right: none;
nav ul {
display: block;
nav a#pull {
display: none;
</style>
</head>
<body>
<div class="gridContainer clearfix">
<div id="header">
<div class="content"> </div>
</div>
<!-- end header -->
<nav>
<a href="#" id="pull">Menu</a>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Contract History</a></li>
<li><a href="#">Curriculum Vitae</a></li>
<li><a href="#">Contact Me</a></li>
</ul>
</nav>
</div>
<!-- end gridContainer -->
</body>
</html> -
I am trying to create a page using CSS. I have a background
image that tiles like I want it to. Here is the CSS:
padding: 0;
Margin: 0;
background-image: url(images/background.jpg);
background-repeat: repeat-y;
background-position:center;
I want some of my various other divs to lay on top of this
background but have a different background color that overlays the
page background image. Instead of taking the background color I
specify, the main page background above shows through. For example
below, the dark brown background doesn't show:
#nav {
margin-left: 4px;
width: 802px;
height: 26px;
background-color:#211400;
Thanks in advance for helping.This is what I did for mine:
background-image: url("../images/background.gif");
Erin
"Mike Dockray" <[email protected]> wrote:
>
Can u put floating background images in the CSS.
eg. background: #fff url(images/backgrd.jpg) bottom right no-repeat fixed;
if so what is the context, find the color but not the image, url is relative
to
what ????
(yes , i'm a newbie, first day on the case :) -
Min-width in Firefox with no content
I am having a strange problem where IE7 is working the way I
think it
should, and FF2 isn't.
I have a couple of spans next to each other, the first one is
floated
left with a min-width of 20px, and can have varying content,
as its from
a recordset, but when it doesn't, I want it to be 20px.
My second span goes next to it, and I want it to start at the
same
position. If the contents of the first span is bigger than
20px I want
it to be allowed to grow to 90px, so I set a max-width for
it.
Since this is for an internal phone list fed from active
directory, its
not available to show you, but here is the part that loops:
<span class="outer">
<span
class="innerleft"><%=(rsContactsList.Fields.Item("Extension").Value)%></span><span
class="innerright"><a
href="mailto:<%=(rsContactsList.Fields.Item("Email").Value)%>"><%=(rsContactsList.Fields. Item("First
Name").Value)%> <%=(rsContactsList.Fields.Item("Last
Name").Value)%></a> -
<%=(rsContactsList.Fields.Item("Title").Value)%></span></span>
And my CSS:
.wrapper .outer {
margin: 0px;
padding: 2px 0px 0px;
float: left;
width: 375px;
.outer p {
margin: 0px;
padding: 5px 0px 0px 5px;
font-weight: bold;
.wrapper .outer .innerleft {
margin: 0px;
padding: 0px 0px 0px 5px;
font-weight: bold;
text-align: left;
float: left;
min-width: 20px;
max-width: 90px;
.wrapper .outer .innerright {
margin: 0px;
padding: 0px 0px 0px 5px;
width: 340px;
I am attempting to create a table like structure without
tables... god
knows why!
Whats confusing me most is that IE7 is observing the
min-width whether
there is content or not, but FF2 only does it when there is
content, I
checked by making the min-width larger.
Am I missing something? Any ideas?
Cheers,
SteveDooza wrote:
> Whats confusing me most is that IE7 is observing the
min-width whether
> there is content or not, but FF2 only does it when there
is content, I
> checked by making the min-width larger.
>
> Am I missing something? Any ideas?
As always, as soon as I post the question my brain kicks in
and a
solution appears.
I changed my SQL View so that if the field was empty, to use
like
this, a great use of CASE:
CASE WHEN IPPhone IS NULL THEN ' ' ELSE IPPhone END
AS Extension
Job done!
Steve -
Hi,
I am new to CSS but dreamweaver makes it easy and I understand it. However I have a problem I do not understand.
I created a CSS page with properties like centered content, header/footer, background image etc. I created the CSS page with the build in template in dreamweaver. So far so good. When I create a new html page and link link this page with the CSS page only part of the content from the CSS page appears. The content that appears is only the centered content. Please see below:
This is the CSS page:
@charset "UTF-8";
body {
font: 100% Verdana, Arial, Helvetica, sans-serif;
background: #FFFFFF;
margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
padding: 0;
text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
color: #000000;
.oneColLiqCtrHdr #container {
width: 80%; /* this will create a container 80% of the browser width */
background: #FFFFFF;
margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
border: 1px solid #000000;
text-align: left; /* this overrides the text-align: center on the body element. */
.oneColLiqCtrHdr #header {
background: #FFFFFF;
padding: 0 10px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
height: inherit;
.oneColLiqCtrHdr #header h1 {
margin: 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
background-image: url(Grafik/test%20web/Untitled-13.jpg);
background-attachment: inherit;
background-repeat: no-repeat;
height: 120px;
width: auto;
padding-top: 10px;
padding-right: 0;
padding-bottom: 10px;
padding-left: 0;
.oneColLiqCtrHdr #mainContent {
padding: 0 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
background: #FFFFFF;
.oneColLiqCtrHdr #footer {
padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
background:#DDDDDD;
.oneColLiqCtrHdr #footer p {
margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
This is the first html page that was created using the CSS template:
<!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>Untitled Document</title>
<link href="oneColLiqCtrHdr.css" rel="stylesheet" type="text/css" />
</head>
<body class="oneColLiqCtrHdr">
<div id="container">
<div id="header">
<h1> </h1>
<!-- end #header --></div>
<div id="mainContent">
<h1> Main Content </h1>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent aliquam, justo convallis luctus rutrum, erat nulla fermentum diam, at nonummy quam ante ac quam. Maecenas urna purus, fermentum id, molestie in, commodo porttitor, felis. Nam blandit quam ut lacus. Quisque ornare risus quis ligula. Phasellus tristique purus a augue condimentum adipiscing. Aenean sagittis. Etiam leo pede, rhoncus venenatis, tristique in, vulputate at, odio. Donec et ipsum et sapien vehicula nonummy. Suspendisse potenti. Fusce varius urna id quam. Sed neque mi, varius eget, tincidunt nec, suscipit id, libero. In eget purus. Vestibulum ut nisl. Donec eu mi sed turpis feugiat feugiat. Integer turpis arcu, pellentesque eget, cursus et, fermentum ut, sapien. Fusce metus mi, eleifend sollicitudin, molestie id, varius et, nibh. Donec nec libero.</p>
<h2>H2 level heading </h2>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent aliquam, justo convallis luctus rutrum, erat nulla fermentum diam, at nonummy quam ante ac quam. Maecenas urna purus, fermentum id, molestie in, commodo porttitor, felis. Nam blandit quam ut lacus. Quisque ornare risus quis ligula. Phasellus tristique purus a augue condimentum adipiscing. Aenean sagittis. Etiam leo pede, rhoncus venenatis, tristique in, vulputate at, odio.</p>
<!-- end #mainContent --></div>
<div id="footer">
<p>Footer</p>
<!-- end #footer --></div>
<!-- end #container --></div>
</body>
</html>
Now, when I create new html pages and link to the CSS page it looks like this:
<!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>Untitled Document</title>
<link href="file:///Macintosh HD/Users/eddiekofoedbærbare/Documents/Websteder/Kenmark nightsystems/oneColLiqCtrHdr.css" rel="stylesheet" type="text/css" />
<link href="file:///Macintosh HD/Users/eddiekofoedbærbare/Documents/Websteder/Kenmark nightsystems/Stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
</body>
</html>
Maybe this does not show a lot, but what is missing from the CSS page is the background image, the header and the footer. What am I doing wrong?
Thank you in advance.As you can see this is the code on the new html page
<!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>Untitled Document</title>
<link href="file:///Macintosh HD/Users/eddiekofoedbærbare/Documents/Websteder/Kenmark nightsystems/oneColLiqCtrHdr.css" rel="stylesheet" type="text/css" />
</head>
<body>
</body>
</html>
When I look at this code and compare it with the code for the very first html page that got created when I made the css file all of this is missing:
<body class="oneColLiqCtrHdr">
<div id="container">
<div id="header">
<h1> </h1>
<!-- end #header --></div>
<div id="mainContent">
<h1> Main Content </h1>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent aliquam, justo convallis luctus rutrum, erat nulla fermentum diam, at nonummy quam ante ac quam. Maecenas urna purus, fermentum id, molestie in, commodo porttitor, felis. Nam blandit quam ut lacus. Quisque ornare risus quis ligula. Phasellus tristique purus a augue condimentum adipiscing. Aenean sagittis. Etiam leo pede, rhoncus venenatis, tristique in, vulputate at, odio. Donec et ipsum et sapien vehicula nonummy. Suspendisse potenti. Fusce varius urna id quam. Sed neque mi, varius eget, tincidunt nec, suscipit id, libero. In eget purus. Vestibulum ut nisl. Donec eu mi sed turpis feugiat feugiat. Integer turpis arcu, pellentesque eget, cursus et, fermentum ut, sapien. Fusce metus mi, eleifend sollicitudin, molestie id, varius et, nibh. Donec nec libero.</p>
<h2>H2 level heading </h2>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent aliquam, justo convallis luctus rutrum, erat nulla fermentum diam, at nonummy quam ante ac quam. Maecenas urna purus, fermentum id, molestie in, commodo porttitor, felis. Nam blandit quam ut lacus. Quisque ornare risus quis ligula. Phasellus tristique purus a augue condimentum adipiscing. Aenean sagittis. Etiam leo pede, rhoncus venenatis, tristique in, vulputate at, odio.</p>
<!-- end #mainContent --></div>
<div id="footer">
<p>Footer</p>
<!-- end #footer --></div>
<!-- end #container --></div>
</body>
</html>
Of course I know that all the text is just filling but the codes are missing. -
CSS Problem, please help
I have a problem with css mark-up that I can't fix and I am going to flip soon
Basically, I have a div that I have created for a product to sit in, and I want it to repeat eight times in two rows of four. Currently, I am getting them appear as a stack one on top of the other, and I just can't sort it. I have tried the tag Display: inline, but when doing that the box collapses.
Here's my css code:
#outerWrapper #contentWrapper #content #TopRatedContainer #TopRatedProduct {
margin: 0px;
padding: 5px;
height: 190px;
width: 111px;
border-top-width: 1px;
border-right-width: 1px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: none;
border-left-style: none;
border-top-color: #CCC;
border-right-color: #CCC;
Any thoughts on how I can fix it?
Here is the related css that has built up this area on my webpage:
#outerWrapper #contentWrapper #content #TopRatedContainer {
background-color: #FFF;
margin: 0px;
padding: 0px;
width: 488px;
border-left-width: 1px;
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: solid;
border-left-color: #CCC;
#outerWrapper #contentWrapper #content #TopRatedContainer #TopRatedProduct {
margin: 0px;
padding: 5px;
height: 190px;
width: 111px;
border-top-width: 1px;
border-right-width: 1px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: none;
border-left-style: none;
border-top-color: #CCC;
border-right-color: #CCC;
#outerWrapper #contentWrapper #content #TopRatedContainer #TopRatedRepeat {
display: block;
width: 122px;
float: left;
#outerWrapper #contentWrapper #content #TopRatedFooter {
padding: 0px;
height: 5px;
width: 490px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 15px;
margin-left: 0px;
background-image: url(../images/getit-bottomtopratedpanel.gif);
background-repeat: no-repeat;
I tried to place it in the TopRatedRepeat area, but this didn't work either so have subsequently taken it out of the equation but thought I'd show it just incase it helps.
TIA
MatBasically, I have a div that I have created for a product to sit in, and I want it to repeat eight times in two rows of four. Currently, I am getting them appear as a stack one on top of the other, and I just can't sort it. I have tried the tag Display: inline, but when doing that the box collapses.
Consider this approach -
#products {
width: 600px;
overflow:hidden;
.product {
width:130px;
margin:10px;
float:left;
</style>
</head>
<body>
<div id="products">
<div class="product">...</div>
<div class="product">...</div>
<div class="product">...</div>
<div class="product">...</div>
<div class="product">...</div>
<div class="product">...</div>
<div class="product">...</div>
<div class="product">...</div>
</div>
</body>
Style as desired. -
Hey Guys
I have just converted my site layout to CSS and only have 2
problems.
Click here for website
1) In IE there is a border at the bottom of the page and in
Firefox there isn't even though I've set the page margin and border
to 0. Then I tried to override the standard padding set by
Firefox/IE by using * {margin : 0;padding : 0;}. This solved the
problem but removed all padding from CSS document which i don't
want.
2) The subheading 'Photography' needs to be padded down. In
IE it is but in Firefox it isn't and I can't get it to move.
Any help would be much appreciated!
body {
margin: 0;
padding: 0;
border: 0;
background-color: #CCCCCC;
.title {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 36px;
line-height: 40px;
color: #FF0000;
.subheading_red {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 20px;
color: #FF0000;
.subheading_white {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 20px;
color: #FFFFFF;
.main_black {
font-family: Arial;
font-size: 12px;
line-height: 20px;
color: #333333;
.main_white {
font-family: Arial;
font-size: 12px;
line-height: 20px;
color: #FFFFFF;
.main_red {
font-family: Arial;
font-size: 12px;
line-height: 20px;
color: #FF0000;
.form {
font-family: Arial;
font-size: 12px;
color: #333333;
min-height: 15px;
.blurb {
font-family: Arial;
font-size: 12px;
line-height: 20px;
color: #999999;
.footer_1 {
font-family: Arial;
font-size: 12px;
line-height: 20px;
color: #FFFFFF;
font-weight: bold;
.footer_2 {
font-family: verdana;
font-size: 10px;
line-height: 20px;
color: #CCCCCC;
/* Links */
a:link {
text-decoration:none;
a:visited {
text-decoration: none;
a:hover {
text-decoration: underline;
color: #FF0000;
a:active {
text-decoration: none;
/* Layout - Homepage*/
#main_image {width:990px; height:211px; margin-left:auto;
margin-right:auto;}
#menu {width:970px; height:97px; padding:10px;
background-color:#000000; margin-left:auto; margin-right:auto;}
#container {width:990px; margin-left:auto; margin-right:auto;
background-color:#FFFFFF}
#module_1 {width:770px; height:430px; float:left;
background-color:#FFFFFF; padding-top:10px;}
#title {width:430px; height:40px; padding-left:20px; float:
left; background-color:#FFFFFF;}
#upload {width:320px; height:50px; padding-top:5px;
padding-bottom:5px; float: right; background-color:#FFFFFF;}
#blurb {width:430px; height:20px; padding-left:20px;
background-color:#FFFFFF;}
#description {width:730px; float:left; padding-left:20px;
padding-right:20px; background-color:#FFFFFF;}
#module_1a {width:770px; height:240px;
background-color:#FFFFFF;}
#module_1b {width:450px; height:250px; float:left;
padding-top:20px; padding-left:20px; background-color:#FFFFFF;}
#module_1c {width:300px; height:250px; float:right;
padding-top:20px; background-color:#FFFFFF;}
#module_2 {width:220px; height:430px; float:right;
background-color:#FF0000; padding-top:10px;}
#module_3 {width:950px; padding-left:20px;
padding-right:20px; padding-bottom:20px; padding-top:20px;
background-color:#333333;}
#footer {width:950px; height:40px; margin-left:auto;
margin-right:auto; padding-right:20px; padding-left:20px;
padding-top:10px; padding-bottom:10px; background-color:#333333;}
#module_4 {width:500px; float:left;}
#module_5 {width:450px; float:right;}
#module_6 {width:500px; float:left;}
#module_7 {width:450px; float:right;}
/* Menu Buttons */
.menu_alignment{
display:block;
float:left;
width: 97px;
height: 97px;
}ForensicBop wrote:
> Hey Guys
>
> I have just converted my site layout to CSS and only
have 2 problems.
>
>
http://skytemedia.com
>
> 1) In IE there is a border at the bottom of the page and
in Firefox there
> isn't even though I've set the page margin and border to
0. Then I tried to
> override the standard padding set by Firefox/IE by using
* {margin : 0;padding
> : 0;}. This solved the problem but removed all padding
from CSS document which
> i don't want.
>
> 2) The subheading 'Photography' needs to be padded down.
In IE it is but in
> Firefox it isn't and I can't get it to move.
>
I don't see the border but for the other issue - put both
"Photography"
and the "Visit gallery" in the same div and float them left
and right'
HTH
chin chin
Sinclair -
Philo wrote:
>
> I am impletmenting our designer's menu and two things
are not as he
> wishes
> 1 - The drop down menu's font appears to be bold while
the top level
> is not. I have nothing that I can find that gives it
bold.
> 2 - He does not like the thing white left/right border.
>
> The url is
http://www.brittanyclub.org/x_newmenu.asp
>
> The page code is below. The menues start @
<!--Menus-->
>
> Any help/insight would be apprecaited.
>
> The only way I could figure out how to inplement the
menu was using a
> table for the drop down. If there is a better way, I
would be happy
> to hear.
> ---------------------------------
> <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
> <head>
> <meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
> <title>Untitled Document</title>
> <style type="text/css">
> <!--
> .LoginDivFormat {
> border: medium none #9AC7DE;
> line-height: 25px;
> }
> .LoginTextBox {
> font-size: 10px;
> border: thin solid #9AC7DE;
> }
> .LoginButton {
> position: absolute;
> left: 816px;
> top: 22px;
> color: #0099FF;
> width: 50px;
> height: 23px;
> }
> .LoginLabels {
> font-size: 10px;
> font-weight: bold;
> color: #9AC7DE;
> }
>
> #MemLoginHelp {
> height: 95px;
> width: 575px;
> border: thin none #000000;
> position: absolute;
> left: 325px;
> top: 59px;
> overflow: hidden;
> z-index: 281;
> color: #333333;
> font-size: 10px;
> visibility: hidden;
> }
> #loginarea {
> position: absolute;
> z-index: 225;
> top: auto;
> }
>
> .DropMnu {
> color: #CC0000;
> font-size: 12px;
> text-align: left;
> text-indent: 5px;
> background-color: #FFFFFF;
> line-height: 15px;
> vertical-align: middle;
>
> }
>
> .DropMnu a {
> text-decoration: none;
> color: #000000;
> font-size: 12px;
> line-height: 15px;
> }
>
> #TMenu1 {
> position: absolute;
> z-index: 252;
> left: 334px;
> top: 150px;
> background-image: url(images/MenuBac_01.jpg);
> height: 15px;
> width: 101px;
> visibility: visible;
> color: #990000;
> font-size: 12px;
> background-repeat: no-repeat;
> line-height: 15px;
> cursor: pointer;
> }
> #Menu1dw {
> position: absolute;
> left: 332px;
> top: 165px;
> z-index: 261;
> visibility: hidden;
> cursor: pointer;
> overflow: visible;
> }
> #TMenu2 {
> position: absolute;
> z-index: 252;
> left: 472px;
> top: 150px;
> background-image: url(images/MenuBac_01.jpg);
> height: 15px;
> width: 101px;
> visibility: visible;
> color: #990000;
> font-size: 12px;
> background-repeat: no-repeat;
> line-height: 15px;
> cursor: pointer;
> }
> #Menu2dw {
> position: absolute;
> left: 470px;
> top: 165px;
> z-index: 262;
> visibility: hidden;
> cursor: pointer;
> overflow: visible;
> }
>
> #TMenu3 {
> position: absolute;
> z-index: 252;
> left: 622px;
> top: 150px;
> background-image: url(images/MenuBac_01.jpg);
> height: 15px;
> width: 101px;
> visibility: visible;
> color: #990000;
> font-size: 12px;
> background-repeat: no-repeat;
> line-height: 15px;
> }
>
> #Menu3dw {
> position: absolute;
> left: 620px;
> top: 165px;
> z-index: 263;
> visibility: hidden;
> cursor: pointer;
> overflow: visible;
> }
>
> #TMenu4 {
> position: absolute;
> z-index: 254;
> left: 772px;
> top: 150px;
> background-image: url(images/MenuBac_01.jpg);
> height: 15px;
> width: 101px;
> visibility: visible;
> color: #990000;
> font-size: 12px;
> background-repeat: no-repeat;
> line-height: 15px;
> }
>
> #Menu4dw {
> position: absolute;
> left: 770px;
> top: 165px;
> z-index: 264;
> visibility: hidden;
> cursor: pointer;
> overflow: visible;
> }
>
> #CenterPic {
> background-image: url(images/Homepage_07.jpg);
> background-repeat: no-repeat;
> position: absolute;
> height: 288px;
> width: 576px;
> top: 182px;
> left: 325px;
> z-index: 50;
> }
> body {
> font-family: Arial, Helvetica, sans-serif;
> font-size: 10px;
> }
>
> -->
> </style>
> <link href="News/News.css" rel="stylesheet"
type="text/css" />
> <script type="text/javascript">
> <!--
> function Chg_m( CellRef, Toggle, bg) {
> if ( Toggle ) {
> CellRef.style.color = '#000000';
> } else {
> CellRef.style.color = '#CC0000';
> }
> CellRef.style.backgroundImage = "url(images/"+bg+")";
> }
>
> function MM_showHideLayers() { //v9.0
> var i,p,v,obj,args=MM_showHideLayers.arguments;
> for (i=0; i<(args.length-2); i+=3)
> with (document) if (getElementById &&
> ((obj=getElementById(args
))!=null)) { v=args[i+2];
> if (obj.style) { obj=obj.style;
> v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
> obj.visibility=v; }
> }
> function MM_preloadImages() { //v3.0
> var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new
Array();
> var i,j=d.MM_p.length,a=MM_preloadImages.arguments;
for(i=0;
> i<a.length; i++)
> if (a.indexOf("#")!=0){ d.MM_p[j]=new Image;
> d.MM_p[j++].src=a
> }
>
> function MM_swapImgRestore() { //v3.0
> var i,x,a=document.MM_sr;
>
for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++)
x.src=x.oSrc;
> }
>
> function MM_findObj(n, d) { //v4.01
> var p,i,x; if(!d) d=document;
>
if((p=n.indexOf("?"))>0&&parent.frames.length) {
> d=parent.frames[n.substring(p+1)].document;
n=n.substring(0,p);}
> if(!(x=d[n])&&d.all) x=d.all[n]; for
(i=0;!x&&i<d.forms.length;i++)
> x=d.forms
[n];
>
for(i=0;!x&&d.layers&&i<d.layers.length;i++)
> x=MM_findObj(n,d.layers.document);
> if(!x && d.getElementById)
x=d.getElementById(n); return x;
> }
>
> function MM_swapImage() { //v3.0
> var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new
Array;
> for(i=0;i<(a.length-2);i+=3)
> if ((x=MM_findObj(a
))!=null){document.MM_sr[j++]=x; if(!x.oSrc)
> x.oSrc=x.src; x.src=a[i+2];}
> }
> function MM_goToURL() { //v3.0
> var i, args=MM_goToURL.arguments;
document.MM_returnValue = false;
> for (i=0; i<(args.length-1); i+=2)
> eval(args+".location='"+args[i+1]+"'");
> }
> //-->
> </script>
> </head>
>
> <body
onLoad="MM_preloadImages('images/Brittany_Advertising_11.jpg')">
> <div id="Layer2" style="position: absolute; left:
0px; top: 0px;
Figured it out. Instead of cells (td) my table contained
headers (th).
I'll have to watch cs3 and how it does tables.
Now my question is about neagtive borders
- IE supports
- FF 2.0.06 does not, or at least the my I used them
Is there a FF work around?Hi Sara,
I was able to reproduce that Item Buttons do always show up in a new line if "New Column" = No is used in a theme 25 app. I have forwarded this OTN forum thread to our CSS expert to give some input.
As everything is appearing in the same column, the grid is not output. However, we have no way of knowing if the items should be on the same line or not. Regardless of what New Row is set to, the APEX output is exactly the same.
- Shouldn't the grid be output in all scenarios? Otherwise this is really inconsistent and impossible to handle.Why do you need the information if it's displayed in the same row or not? Isn't that driven by CSS? In the case of theme 25, it's my understanding that "fieldContainer" is always displayed as "block", so it will be displayed in a new line unless it's wrapped in grid column DIVs. Because of that, the grid markup isn't rendered if the grid isn't really used.
Would you prefer a configuration option for the Grid Layout configuration in Page Templates to always render the grid?
Workaround: Set the "Column Span" of any page item to a value higher than 1. This will always force a grid layout.
- Item buttons should be wrapped in a label template so that theme designers have greater control over placement, alignment and spacing.Actually we want to unify region and item buttons to just buttons. We have to have a look what makes sense. Have you thought about creating an "Inline Button" button template which emits the necessary HTML markup?
I'm not really a CSS export, so I hope Shakeeb will provide you some additional input.
Regards
Patrick
Member of the APEX development team
My Blog: http://www.inside-oracle-apex.com
APEX Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf -
Background Repeat X feature not working.
Good day all, hopefully you could help me with this issue. I have a 26 page website that I've just completed and all the pages have varying heights so I simply exported my gradient background from photoshop cs6 as a .png and pressed ctrl+j and inserted the background and opted for the repeat X. The problem I'm experiencing is that the background cuts off half way in most of my pages, I thought that the whole purpose of repeat x was to populate the entire page no matter the height. Here's my code:
body {
background-image: url(_images/gradient.png);
background-repeat: repeat-x;Thank you Bemdesign and Nancy O, I had googled and tried the w3schools tutorials and option before I came here. It didin't work for me, I thought that I was missing something specific to dreamweaver but no it was. I actually sorted the issue out by increasing the height in photoshop from 1750px to 3200px and the variation from page to page isn't that onticable but at least it doesn't cut off. Before resorting to this I even tried and maxed out all the options that dreamweaver had to offer in this avenue; from repeat, repeat-x and repeat-y....all of that to no avail.
Maybe you are looking for
-
Can I convert each playlist into one single mp3 file
I have had great success creating and burning a playlist to a CD however I'd really prefer to save an ENTIRE playlist of about 20 songs as a SINGLE MP3 file. I can then I burn each file (composed of songs in a playlist) to a CD and have a nice set
-
Editor option is not opening for table object
Hi Experts, I have installed OWB 11.1 on my table machine. The strange thing what i found out that, the 'open editor 'option of Table is not opening for oracle module in the design centre.for other object (Like mapping ..etc) 'Open Editor' option is
-
hey guys, I'm using 4.3.3 iOS and my Wi-Fi is not working at all. it's not picking up the signal and the text on Wifi setting is grey which means not applicable. anyone knows how to fix it? I was travelling and my battery went flat for few days. when
-
Hello Apple community, I am having a problem. My grandpa has an ancient iPod nano 3rd gen 4gb. For some reason, whenever I plug the iPod into his computer, it crashes. Furthermore, with the iPod plugged in his computer it will BSOD again and restart.
-
Hi Gurus, I have a specific PO that it is not appearing on my MD04 list. The PO does not have MIGO and MIRO done, does anyone know what could possibly be? kind regards Oliver F