Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > Graphics, Images, Logos Templates & CSS > CSS Cascading Style Sheets

Notices

CSS Cascading Style Sheets All topics and discussions relating to CSS Cascading Style Sheets.

Closed Thread
 
Thread Tools
  #1  
Old 10-04-2007, 01:29 PM
Collectors-info's Avatar
General
 
Join Date: Feb 2006
Location: London (UK)
Posts: 7,542
Default CSS div/table borders question.

Hi, I am trying to make a CSS with areas/panels that have borders for a basic page layout. This seems to be no problem with FF & Opera. But with IE it changes the size of the div area because it adds the border on the internal part of the div & leaves a larger gap between the panel areas. (At least I think this is what its doing)
Is there a way to stop this happening? So it looks the same in all browsers.
Sample page. http://www.collectors-info.com/testing/css-test.html






Thanks.
__________________
Regards Chris,
Sites are view in FF & IE, with res @ 1024 x 768 on 19” screens.

Barnet walks
How to ask for help on the forum. - VH prices. - BV Tutorials. - Using PIXresizer - Image/Photo Tips -
Collectables, Collecting


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #2  
Old 10-04-2007, 06:49 PM
Watdaflip's Avatar
Major General
 
Join Date: Sep 2005
Location: Cincinnati, Ohio
Posts: 2,151
Default Re: CSS div/table borders question.

The reason your getting the gaps is because bluevoda is using an absolute position for each of the div tags it generates. It is either automatically adding a 5 px space between elements, or you need to move each element closer by 5 px, and shrinking the width of the top and bottom div's that BV creates by 5 px.

Since the ones you added are within the BV div's, it takes on their absolute position.

Hope that helps, post again if it doesn't or its not clear (had a rough time explaining)


I attached a zip with a html file with the fixes, so it doesn't have the gaps, (if it will help)
Attached Files
File Type: zip edited code.zip (835 Bytes, 77 views)
__________________

Register/Login Script
Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old 10-04-2007, 08:56 PM
Collectors-info's Avatar
General
 
Join Date: Feb 2006
Location: London (UK)
Posts: 7,542
Default Re: CSS div/table borders question.

Hi CJ,
Thanks for the update & giving me some samples by example. (Which is great for me). I was hoping to create a few templates that were easily adjustable for BV users just like the BV shapes. So I was trying to have similar facilities that the shape has, but using the html boxes. The advantage of this, is to let BV users place a BV html box on the screen & adjust to what ever size they would like. But then have the facility to adjust colors/borders via a remote style sheet. (Not worried about the text just yet). With the html box on the screen it will still give the user a view of where the finished colored panel will end up as the html box will be a guide to where text & images can still be placed. Other wise a BV user will be working a bit blind. I think it can be done this way, but with a few limitations. I have adjusted the one that I did & is not too bad. http://www.collectors-info.com/testing/css-test.html
What i was hoping to do was have a facility to use Naval’s php style of pages with a simple CSS for global changes that was easy for all BV users.



Cheers.
Attached Files
File Type: zip css-test.zip (983 Bytes, 43 views)
__________________
Regards Chris,
Sites are view in FF & IE, with res @ 1024 x 768 on 19” screens.

Barnet walks
How to ask for help on the forum. - VH prices. - BV Tutorials. - Using PIXresizer - Image/Photo Tips -
Collectables, Collecting


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 Off



All times are GMT +1. The time now is 07:04 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203