vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   CSS Help please :( (https://vborg.vbsupport.ru/showthread.php?t=258029)

Xencored 01-29-2011 10:07 PM

CSS Help please :(
 
Hey

Am trying to build a box just below my navbar and just about the main forums

Just like Digital Point has Without his awesome custom social mod

So far i have this code

Code:

<div class="below_nav"><div class="social_buttons"><a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like layout="button_count" show_faces="false" width="100"></fb:like></div></div>
but as you can see from my image here

My bar looks nothing like DP's
I have to add CSS to (says dp)
Code:

<div class="below_nav"><div class="social_buttons">
but i have no idea how and where to start as ive never got into CSS (well i just dont understand it tbh)

So i was wondering if someone had some time to help me sort this out
Many Thanks

Lynne 01-29-2011 10:38 PM

We can't see what it looks like. But yes, you've called a couple of classes - below_nav and social_buttons (and a few others) and you need to add the css for them to your additional.css template. If you use firebug (an add-on for firefox), then you can get the CSS easily using that too.

Xencored 01-29-2011 11:07 PM

1 Attachment(s)
Quote:

Originally Posted by Lynne (Post 2156221)
We can't see what it looks like. But yes, you've called a couple of classes - below_nav and social_buttons (and a few others) and you need to add the css for them to your additional.css template. If you use firebug (an add-on for firefox), then you can get the CSS easily using that too.

Yea i tryed firebug didnt seem to work for me (This element has no style rules) whatever that means

This is the image if you cant see it

Attachment 126225

Thanks

Edit ive done it but the its squared not rounded did i miss something?
http://myanimeisland.com/

i have "-moz-border-radius: 5px 5px 5px 5px;" but there still Square on chome

Cheers

Lynne 01-30-2011 02:59 AM

For chrome, you also need to add -webkit-border-radius

Xencored 01-30-2011 12:08 PM

Quote:

Originally Posted by Lynne (Post 2156302)
For chrome, you also need to add -webkit-border-radius

Thanks again i would be lost without you :D


All times are GMT. The time now is 10:55 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01101 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete