Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
This is more of a CSS related question...
I am having a hard time with CSS on my current project underworks. I want to pull my hair out. I need a way to ad a tiled background to the div named nav but it seems that the header background is getting in the way. You can see the files I’m using at the current site links html and css
If you see anything at all let me know! Thanks in advance!
Last edited by wesy2kn1 (2010-04-06 20:40:06)
Offline
Re: This is more of a CSS related question...
I can put the code in here once I figure out how exactly to do that properly if it would help
Offline
#3 2010-04-07 11:05:12
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: This is more of a CSS related question...
I can put the code in here
Not necessary, we have your site and browsers and stuff :) But please get your code output clean before. You have unparsed txp tags and several body tags in your source code. Probably improper use/closing of tags. See http://textpattern.com/faq/?c=miscellaneous, there read “Diagnosing template problems”.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: This is more of a CSS related question...
They are commented and not in use currently I’m just doing the html markup right now. Haven’t brought it over on the txp side…
or am I missing what you’re saying?
Offline
#5 2010-04-07 16:34:26
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: This is more of a CSS related question...
They are commented and not in use currently
Ah, I see. I go on strike when I see txp-tags and HTML-tidys red color.
But why didn’t you supply a background image and assignment to test with? #nav is missing a height. I’m too sweet-tempered ;)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: This is more of a CSS related question...
I’ll look into what you’re seeing. There’s a possibility I got frustrated and removed the background image…which now that I think about it I’m pretty sure I did. Height could very well be my issue as well I suppose. Will make some revisions momentarily and repost.
Offline
#7 2010-04-08 02:54:01
- GugUser
- Member
- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,473
Re: This is more of a CSS related question...
Some additional comments:
- You open two html-elements
- I can’t see any function for
<div id="inside">
- You close a div that not exist
- Instead of twice
<div style="clear: both;"></div>
are other methods - stripes.png is a monster and can be simplified considerably
- The same with the photo 1.png, which as jpg weighs less
- for
#nav
there is no definition for background … - etc., you have more other errors produced
Offline
Re: This is more of a CSS related question...
1) I realize that now. Inserted the fbml code string and didn’t clean up the previous. Appreciate the heads up.
2) the code is as follows
#wrapper #inside {
margin: 10px 10px 0px 10px;
padding-top: 10px;
padding-bottom: 10px;
}
3) Whoops on that again thanks for that.
4) Please enlighten me on what would be better to use in this case.
5) I know its big I intend to bring it down.
6) Prefer png’s to jpg’s because they render better.
7) There isn’t now because I couldn’t get it to work.
8) Thanks for telling me what you have so far…fill me in on whatever else there is once I make these changes If you have time. I appreciate the feedback. Always looking to make my code better and tighter.
Offline
#9 2010-04-08 13:01:30
- GugUser
- Member
- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,473
Re: This is more of a CSS related question...
7) There isn’t now because I couldn’t get it to work.
If your declaration isn’t visible, we can’t see the probable error.
Offline
Re: This is more of a CSS related question...
yeah i know I got it back up now. Its running outside the banner now. Not sure what’s causing it. Looking into it now. I apologize for that. Got frustrated, yanked it down and forgot about it.
Offline
#11 2010-04-08 16:08:36
- GugUser
- Member
- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,473
Re: This is more of a CSS related question...
Well, now I can see something.
But I can’t understand why you need a background-image, and I don’t understand why you make this:
<div id="inside">
<div id="header">
<div id="nav">
<ul>
<li id="current"><a href="index.html">Home</a></li>
<li><a href="style.html"></a></li>
<li><a href="blog.html">Blog</a></li>
<li><a href="index.html">Services</a></li>
<li><a href="index.html">Support</a></li>
<li><a href="index.html">About</a></li>
</ul>
</div>
</div>
</div>
And not this:
<div id="header">
<h1>Some title</h1>
</div>
<div id="nav">
<ul>
<li id="current"><a href="index.html">Home</a></li>
<li><a href="style.html"></a></li>
<li><a href="blog.html">Blog</a></li>
<li><a href="index.html">Services</a></li>
<li><a href="index.html">Support</a></li>
<li><a href="index.html">About</a></li>
</ul>
</div>
Offline
Re: This is more of a CSS related question...
In a word its having to do with the fluid layout and I also want the option to be able to insert more content within that div. I may scrap this design and start new. I’m not sure yet.
Offline