Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-05-2011, 08:13 PM
CK CK is offline
 
Join Date: Dec 2007
Location: http://xenforo.com/
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default I've found a way to get rounded corners with IE

Okay so I've got it working with another site that I've set up, I was asking on help on how to get it looking like my forum (rounded corners). When someone suggested I upload this FILE and put the following code
Code:
behavior:url(border-radius.htc);
in the style sheet elements that I want rounded corners on.

So basically upload file to root and add the code, guess what? It actually worked. Here's where you can see it working http://tsps.us

So it was simple enough to get it working on the site because all I did was modify the index file, what I'm scratching my head over is how I would get it to work on vBulletin, where should I insert the code?
Reply With Quote
  #2  
Old 05-05-2011, 09:33 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe you could put it in Additional CSS in the style editor, something like:

#bsb { behavior:url(border-radius.htc); }

I noticed that in FF and Chrome you already have rounded corners.
Reply With Quote
  #3  
Old 05-05-2011, 09:42 PM
CK CK is offline
 
Join Date: Dec 2007
Location: http://xenforo.com/
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
Maybe you could put it in Additional CSS in the style editor, something like:

#bsb { behavior:url(border-radius.htc); }

I noticed that in FF and Chrome you already have rounded corners.
Yeah that's right, forum works great on webkit, Chrome and Firefox. Opera and IE just do not do the round corners and it's bugging the life out of me.

Can you explain that code a little better.

Should I do the entire "#bsb { behaviour:url(border-radius.htc); }" with the spaces and the "#bsb" at the start?
Reply With Quote
  #4  
Old 05-05-2011, 09:46 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChemicalKicks View Post
Should I do the entire "#bsb { behaviour:url(border-radius.htc); }" with the spaces and the "#bsb" at the start?
Yeah, I think so. I'm not a CSS expert and I haven't tried it so I'm not sure if it's exactly right, but your div has id="bsb" so that's saying to apply that bit of CSS to the thing with that id.
Reply With Quote
  #5  
Old 05-05-2011, 09:49 PM
CK CK is offline
 
Join Date: Dec 2007
Location: http://xenforo.com/
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's what I put, unfortunately it made no difference.

Code:
#bsb {
background-color: #686968;
behavior:url(border-radius.htc); 
border-radius: 5px;
-moz-border-radius-top{vb:stylevar left}:20px;
-moz-border-radius-top{vb:stylevar right}:20px;
-webkit-border-top-{vb:stylevar left}-radius:20px;
-webkit-border-top-{vb:stylevar right}-radius:20px;
-khtml-border-top-{vb:stylevar left}-radius:20px;
-khtml-border-top-{vb:stylevar right}-radius:20px;
border:10px solid #686968;
_border: none;
}
Reply With Quote
  #6  
Old 05-05-2011, 09:55 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, you already had a #bsb section, then yeah of course you didn't need another #bsb or the curly braces.

It's working in your dark style (although I didn't check that before you added that stuff).
Reply With Quote
  #7  
Old 05-05-2011, 09:59 PM
CK CK is offline
 
Join Date: Dec 2007
Location: http://xenforo.com/
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
Oh, you already had a #bsb section, then yeah of course you didn't need another #bsb or the curly braces.

It's working in your dark style (although I didn't check that before you added that stuff).
The rounded corner are working in IE on the dark style? For me it's showing no change, could you do me a massive favour and take a screen shot for me?

The dark style is the one I'm trying this on as it's less used, well spotted
Reply With Quote
  #8  
Old 05-05-2011, 10:04 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe try Shift-reloading the page (Edit: um...I guess it's actually Ctrl-F5 in IE).

Screen shot only shows UL but the other corners are rounded too, just couldn't deal with the image size using paint
Attached Images
File Type: jpg sps.JPG (96.8 KB, 0 views)
Reply With Quote
  #9  
Old 05-05-2011, 10:10 PM
CK CK is offline
 
Join Date: Dec 2007
Location: http://xenforo.com/
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you

That's so strange it doesn't seem to be working for me (Using IE9 BTW).

It's getting late for me now though so I think I'm going to bed and will pick this up again in the morning. Thanks for your help.

EDIT: Applied the changed to "Original".
Reply With Quote
  #10  
Old 05-05-2011, 10:28 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChemicalKicks View Post
That's so strange it doesn't seem to be working for me (Using IE9 BTW).
That could be it I guess - I'm using IE8. But maybe it's just that your CSS file is cached.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 12:24 AM.


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.04384 seconds
  • Memory Usage 2,278KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete