Go Back   Pligg CMS Forum > Pligg Development > Pligg Templates > Template Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-31-2006, 10:33 AM
New Pligger
 
Join Date: Jan 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Help with CSS please

I'm trying to find the source of two CSS anomolies. Please see the attached images. I have gone over the stye sheet and haven't found the answer.

Both of these are in the sidebar (menu) and I need to get rid of them.

By the way Yank, is there a time frame for the new beta 6 to be released?
Attached Images
File Type: jpg anom1.jpg (12.7 KB, 42 views)
File Type: jpg anom2.jpg (9.9 KB, 25 views)
Reply With Quote
  #2 (permalink)  
Old 01-31-2006, 10:53 AM
New Pligger
 
Join Date: Jan 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
I probably should add that this is an IE only thing. Firefox looks correct.

Any CSS gurus out there have a fix?
Reply With Quote
  #3 (permalink)  
Old 01-31-2006, 02:34 PM
Constant Pligger
 
Join Date: Jan 2006
Posts: 197
Thanks: 1
Thanked 0 Times in 0 Posts
I fixed the second one, bnnut I've never seen the first one, where do you see that (which page?)

I went into the TPL file, and changed it's ID from main-digg to main-submit, since they are the same, and submit is working properly, if you wanted both of them using different classes, then I fixed that also, but i dont remember which line I added

basicly, I fixed the second anomaly, but then I readlised m-s = m-d and so i changed the class.
Reply With Quote
  #4 (permalink)  
Old 01-31-2006, 04:57 PM
New Pligger
 
Join Date: Jan 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Actually crypt, on my version (5.10) they are not the same thing. Submit does not have a border around it, easy enough to fix, but what it am looking for is an actual explanation of the the difference in CSS.

I have done away with the first one now. I'm going to just join the Pligg and Submit into one box.

I'm going to really spend some time over the next couple of days crawling through the stylesheet to see just exactly what the hell is going on. I realize there are some very serious limitations to using CSS correctly in IE and I d/l the newest beta of IE 7 today just to see how their development is coming.

Right now though, it's a lose-lose situation. IE sucks, and I can't keep Firefox running long enough to have it be a useful tool.

Yank, I really like the template you have going for beta 6. What can I expect to run into, never having used smarty before when designing a new look for the site.

By the way, I'm setting up a Pligg theme repository if anyone is interested in developing themes for it and wants to share them with others.
Reply With Quote
  #5 (permalink)  
Old 01-31-2006, 05:47 PM
Constant Pligger
 
Join Date: Jan 2006
Posts: 197
Thanks: 1
Thanked 0 Times in 0 Posts
hey eric,

they arn't the same thing, but they are pretty darn close so close, in fact that I don't see the use (personally) to have them as 2 dfferent classes.
Reply With Quote
  #6 (permalink)  
Old 01-31-2006, 06:04 PM
AshDigg's Avatar
Coder
 
Join Date: Dec 2005
Posts: 1,574
Thanks: 235
Thanked 345 Times in 206 Posts
Quote:
Originally Posted by eric
By the way, I'm setting up a Pligg theme repository if anyone is interested in developing themes for it and wants to share them with others.
That would be cool. Be sure to let us know if there is anything we can do to make it easier for other to install new themes. Moving to the template system was one step that we took.

thanks!
__________________
- Ash
Reply With Quote
  #7 (permalink)  
Old 01-31-2006, 06:09 PM
Constant Pligger
 
Join Date: Jan 2006
Posts: 197
Thanks: 1
Thanked 0 Times in 0 Posts
yeah, there should be a set of rules in developing a theme, and a small line of code that will set the path to the template files.

ie: move the css file into the templates folder, then create a subdirectory the same name as the css file. the .tpls should go in there. then make that selectable either via admin panel, or users settings.

ie:

-templates
----default.css
----mystyle.css
----newstyle.css
----default
--------header.tpl
--------all_sidebarl.tpl
--------all_footer.tpl
----mystyle
--------header.tpl
--------all_sidebarl.tpl
--------all_footer.tpl
----newstyle
--------header.tpl
--------all_sidebarl.tpl
--------all_footer.tpl
Reply With Quote
  #8 (permalink)  
Old 01-31-2006, 06:24 PM
New Pligger
 
Join Date: Jan 2006
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to NXile Send a message via Yahoo to NXile
About the CSS - you may want to check out the IE Beta 7 which was released today. Supposedly it's meant to happen CSS better...
Reply With Quote
  #9 (permalink)  
Old 01-31-2006, 11:58 PM
New Pligger
 
Join Date: Jan 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Link to the IE Beta 7 download http://www.microsoft.com/windows/IE/...aredirect.mspx
Reply With Quote
Reply

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

Search Engine Friendly URLs by vBSEO 3.2.0