CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 6/11/2006 9:56:45 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 5 Views: 232 Favorited: 0 Favorite
6 Items, 1 Pages 1 |< << Go >> >|
wazzzuup
Asp.Net User
What I See Is NOT What I Get!!! (Cell's Borders and CSS Styles)6/11/2006 9:56:45 PM

0

The First Point Cell Right Border:

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>Untitled Page</title>
</head>
<body>
         <table border="0"  cellpadding="5" cellspacing="0" width="100%" height ="100%">

            <tr><td colspan="2" align=center style="height: 20px; border-top: #0066ff thick solid; border-bottom: #0066ff thin solid; border-right: fuchsia thick; background-color: #99ccff;" >
                <h2 >
                    ?????????? ???????</h2>
            </td></tr>
            <tr>
                <td rowspan="2" style="width: 250px; background-color: #99ccff; border-right: #0066ff thin solid;" >
                </td>
                <td style="height: 17px; border-bottom:#0066ff thin solid">????</td>
            </tr>
            <tr >
                <td style="height: 270px" valign="top">
                </td>
            </tr>
            <tr height=10>
                <td colspan="2" style="border-bottom: #0066ff thick solid; border-top: #0066ff thin solid;" >
                    ??? ????? ???????? ? 2006?.</td>
            </tr>
        </table>
</body>
</html>

 WHY IS THE RIGHT BORDER OF THE LEFT CELL NOT DISPLAYED?

(border-right: #0066ff thin solid)

Though in design mode of VWD it is displayed!

The second point - I've been customizing CreateUserWizard control: added new step, translated labels into russian, remove\added some labels and so on... And after that some labels started being displayed differently in Design View and in browser! I tried to use css styles by defining special style for these labels, but it doesn't works even I see changes in Design Mode! The same trouble exists in some other elements!

Help me please! May be someone want to see my page directly? I can send it via e-mail. I'll appreciate it!

Thanks in advance!

 


Am I Evil?
Yes I Am!
MorningZ
Asp.Net User
Re: What I See Is NOT What I Get!!! (Cell's Borders and CSS Styles)6/11/2006 10:51:48 PM

0

One thing i noticed right off that bat is that your CSS is in the right order, as it's

border: width style color

http://www.w3schools.com/css/css_border.asp


"If you make it idiot proof, they'll build a better idiot"
wazzzuup
Asp.Net User
Re: What I See Is NOT What I Get!!! (Cell's Borders and CSS Styles)6/12/2006 10:10:24 AM

0

Ok, I put them in the right order but it still doesn't work!

<

html xmlns="http://www.w3.org/1999/xhtml">

<

head>

<title>Untitled Page</title>

</

head>

<

body>

<table border="0" cellpadding="5" cellspacing="0" width="100%" height ="100%">

<tr><td colspan="2" align=center style="height: 20px; border-top: thick solid #0066ff; border-bottom: thin solid #0066ff ; border-right: fuchsia thick ; background-color: #99ccff;" >

<h2 >

?????????? ???????

</h2>

</td></tr>

<tr>

<td rowspan="2" style="width: 250px; background-color: #99ccff; border-right: thick solid #0066ff;" >

</td>

<td style="height: 17px; border-bottom: thin solid #0066ff">????</td>

</tr>

<tr >

<td style="height: 270px" valign="top">

</td>

</tr>

<tr height=10>

<td colspan="2" style="border-bottom: thick solid #0066ff; border-top: thin solid #0066ff;" >

??? ????? ???????? ? 2006?.

</td>

</tr>

</table>

</

body>

</

html>

Can You test this code in your browser and say what you get? I tested it in IE, Maxthon and Opera with the same result! What can be wrong in this simple situation??


Am I Evil?
Yes I Am!
bpag
Asp.Net User
Re: What I See Is NOT What I Get!!! (Cell's Borders and CSS Styles)6/12/2006 2:17:13 PM

0

Browsers are fun and rarely behave the way you want them too. It is all part of the exciting world of web development. Not only do different browsers render differently but none of them really do what you would expect in all cases.

I'm not sure which of the cells with the border-right style you are asking about but here are my thoughts on the two cells with border-right styles:

1. The first one, the one with the border-right: fuchsia thick setting, needs to be changed to say border-right: solid thick fuchsia. Once you do that it should work ok.

2. The second one, the one with the
border-right: thick solid #0066ff setting, is set ok but the problem there is that the browser will probably not render the border unless you have some content in the TD itself. For example, if you just put &nbsp; between the <td> and </td> tags so that the cell contains a space then your border should show up. I assume that you'll be adding some content into this cell as you continue developing your site so your border should show up once you have some content.

HTH,
Bruno

If this post answered your question please remember to 'Mark as Answer'!
wazzzuup
Asp.Net User
Re: What I See Is NOT What I Get!!! (Cell's Borders and CSS Styles)6/12/2006 6:46:02 PM

0

Thanks a lot! The problem with right border is solved with your help! May be you'd like to see the page with problem labels? I would be glad if you'd like to :)


Am I Evil?
Yes I Am!
bpag
Asp.Net User
Re: What I See Is NOT What I Get!!! (Cell's Borders and CSS Styles)6/13/2006 1:12:36 PM

0

If you want to email me or send me a private message with the link or whatever I can take a look. Otherwise, if you can post some of the code where the problem is here and describe the problem you'll get more people looking it and might get a solution sooner.

If this post answered your question please remember to 'Mark as Answer'!
6 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Dreamweaver CS3 Bible: Master Every Aspect of Dreamweaver - Work with CSS, Text, Images, And Links - Incorporate Flash Movies and Other Media Authors: Joseph W. Lowery, Pages: 1112, Published: 2007
CSS Cookbook Authors: Christopher Schmitt, Pages: 516, Published: 2006
Dynamic HTML: The Definitive Reference Authors: Danny Goodman, Pages: 1307, Published: 2007
The Essential Guide to CSS and HTML Web Design Authors: Craig Grannell, Pages: 524, Published: 2007
Beginning Web Programming with HTML, XHTML, and CSS Authors: Jon Duckett, Pages: 814, Published: 2004
Pro CSS and HTML Design Patterns Authors: Michael Bowers, Pages: 494, Published: 2007
Cascading Style Sheets: The Definitive Guide Authors: Eric A. Meyer, Pages: 507, Published: 2004
Dreamweaver CS3: The Missing Manual Authors: David Sawyer McFarland, Pages: 995, Published: 2007
Web Design in a Nutshell: A Desktop Quick Reference Authors: Jennifer Niederst Robbins, Pages: 796, Published: 2006
HTML Mastery: Semantics, Standards, and Styling Authors: Paul Haine, Pages: 226, Published: 2006

Web:
What I See Is NOT What I Get!!! (Cell's Borders and CSS Styles ... What I See Is NOT What I Get!!! (Cell's Borders and CSS Styles), ... I'm not sure which of the cells with the border-right style you are ...
learn web standards :: css guide - element type properties Get browser support information for list-style-type in the downloadable .... An element does not inherit the border-collapse of its parent. Hints and suggestions. See our Tables and CSS section for more on implementing this property in ... show - borders will be drawn around empty cells; hide - no borders will be ...
Rounded, even expansion of cells - can get 1 to expand but not the ... As you can see, I can get the middle cell to expand to my subforums but I can't ... vertical-align:top" src="images/se7ensins/misc/upper-left.png" alt="" border ="0" /> ....