Wednesday, March 28, 2012
TableLess?
advantages using it? Is it client feature? nothing to do with asp.net?
Should it be used with asp.net?
What do you think about?
Any articles?Hi,
Here an article describing that stuff.
http://www.pixelmill.com/support/su...icleID=kb101638
You'll find a huge load of article with a simple request like the one below
in google
http://www.google.fr/search?hl=fr&q...+table+vs&meta=
So, the general idea is that CSS-Layout is best but you must master the CSS
language.
Hope it helps,
Martin
"Paulo" <prbspfc@.uol.com.br> a crit dans le message de news:
OVDllQCOIHA.1208@.TK2MSFTNGP03.phx.gbl...
> Hi everybody, I heard about TableLess layout, css, etc... What is it? Any
> advantages using it? Is it client feature? nothing to do with asp.net?
> Should it be used with asp.net?
> What do you think about?
> Any articles?
>
Additionally note that this doesn't mean you shouldn't use tables at all. It
means a table should be used to display tabular data but not to handle the
general organisation layout of a whole web site (as using css would allow to
move each part and a table based design won't let you to do that).
Patrice
"Paulo" <prbspfc@.uol.com.br> a crit dans le message de news:
OVDllQCOIHA.1208@.TK2MSFTNGP03.phx.gbl...
> Hi everybody, I heard about TableLess layout, css, etc... What is it? Any
> advantages using it? Is it client feature? nothing to do with asp.net?
> Should it be used with asp.net?
> What do you think about?
> Any articles?
>
see http://www.csszengarden.com for best examples
Paulo wrote:
> Hi everybody, I heard about TableLess layout, css, etc... What is it? Any
> advantages using it? Is it client feature? nothing to do with asp.net?
> Should it be used with asp.net?
> What do you think about?
> Any articles?
>
TableLess?
advantages using it? Is it client feature? nothing to do with asp.net?
Should it be used with asp.net?
What do you think about?
Any articles?Hi,
Here an article describing that stuff.
http://www.pixelmill.com/support/su...icleID=kb101638
You'll find a huge load of article with a simple request like the one below
in google
http://www.google.fr/search?hl=fr&q...+table+vs&meta=
So, the general idea is that CSS-Layout is best but you must master the CSS
language.
Hope it helps,
Martin
"Paulo" <prbspfc@.uol.com.bra crit dans le message de news:
OVDllQCOIHA.1208@.TK2MSFTNGP03.phx.gbl...
Quote:
Originally Posted by
Hi everybody, I heard about TableLess layout, css, etc... What is it? Any
advantages using it? Is it client feature? nothing to do with asp.net?
>
Should it be used with asp.net?
>
What do you think about?
>
Any articles?
>
Additionally note that this doesn't mean you shouldn't use tables at all. It
means a table should be used to display tabular data but not to handle the
general organisation layout of a whole web site (as using css would allow to
move each part and a table based design won't let you to do that).
--
Patrice
"Paulo" <prbspfc@.uol.com.bra crit dans le message de news:
OVDllQCOIHA.1208@.TK2MSFTNGP03.phx.gbl...
Quote:
Originally Posted by
Hi everybody, I heard about TableLess layout, css, etc... What is it? Any
advantages using it? Is it client feature? nothing to do with asp.net?
>
Should it be used with asp.net?
>
What do you think about?
>
Any articles?
>
see http://www.csszengarden.com for best examples
Paulo wrote:
Quote:
Originally Posted by
Hi everybody, I heard about TableLess layout, css, etc... What is it? Any
advantages using it? Is it client feature? nothing to do with asp.net?
>
Should it be used with asp.net?
>
What do you think about?
>
Any articles?
>
>
Tables and CSS
Not sure if this is the right forum for this, but here goes:
I'm using VS.NET 2003 to create a Web app and have defined a table as
follows:
<table border=3 bordercolordark="#006699" bordercolorlight="lightgrey"
width="100%">
As I'm going to be reusing this style all over the app, I'm trying to
replace it with a style, as follows:
<table class=tblBorder>
and in my stylesheet I have the following definition:
.tblBorder
{
border-style: outset;
border-bottom-color: "#006699";
border-right-color: "#006699";
border-left-color: "lightgrey";
border-top-color: "lightgrey";
border-width: 3;
}
But it doesn't look right. I'm obviously missing something...
Any assistance gratefully received.
Mark RaeHi Mark,
You aren't missing anything. The bordercolorlight and bordercolordark are
rendered differently than CSS styles are so things may not look the same
when applied differently. Also, border in the <table> tag is expressed
differently than border-width is in CSS (border-width in CSS can take
different measurement units including pt, px, em, etc). You will have to toy
around with your CSS settings to get them closer to what the browser
actually renders if those values were supplied in the tag.
HTH
Kyril Magnos
Question of the day:
What is Mono?
A) Disease where the lymph nodes become swollen.
B) A single sound
C) A synonym for one
D) A port of .NET meant to royally irritate MSFT
E) All of the above.
"Mark Rae" <mark@.mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:%23JEFeE3aEHA.3512@.TK2MSFTNGP12.phx.gbl...
| Hi,
|
| Not sure if this is the right forum for this, but here goes:
|
| I'm using VS.NET 2003 to create a Web app and have defined a table as
| follows:
|
| <table border=3 bordercolordark="#006699" bordercolorlight="lightgrey"
| width="100%">
|
| As I'm going to be reusing this style all over the app, I'm trying to
| replace it with a style, as follows:
|
| <table class=tblBorder>
|
| and in my stylesheet I have the following definition:
|
| .tblBorder
| {
| border-style: outset;
| border-bottom-color: "#006699";
| border-right-color: "#006699";
| border-left-color: "lightgrey";
| border-top-color: "lightgrey";
| border-width: 3;
| }
|
| But it doesn't look right. I'm obviously missing something...
|
| Any assistance gratefully received.
|
| Mark Rae
|
|
"Kyril Magnos" <kyril.magnos@.yahoo.com> wrote in message
news:eHTGrL3aEHA.4048@.TK2MSFTNGP10.phx.gbl...
> Hi Mark,
> You aren't missing anything. The bordercolorlight and bordercolordark are
> rendered differently than CSS styles are so things may not look the same
> when applied differently. Also, border in the <table> tag is expressed
> differently than border-width is in CSS (border-width in CSS can take
> different measurement units including pt, px, em, etc). You will have to
toy
> around with your CSS settings to get them closer to what the browser
> actually renders if those values were supplied in the tag.
OK - thanks for the reply.
Check out
http://www.somacon.com/color/html_c...rder_styles.php
Alphonse Giambrone
Email: a-giam at customdatasolutions dot us
"Mark Rae" <mark@.mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:%23JEFeE3aEHA.3512@.TK2MSFTNGP12.phx.gbl...
> Hi,
> Not sure if this is the right forum for this, but here goes:
> I'm using VS.NET 2003 to create a Web app and have defined a table as
> follows:
> <table border=3 bordercolordark="#006699" bordercolorlight="lightgrey"
> width="100%">
> As I'm going to be reusing this style all over the app, I'm trying to
> replace it with a style, as follows:
> <table class=tblBorder>
> and in my stylesheet I have the following definition:
> .tblBorder
> {
> border-style: outset;
> border-bottom-color: "#006699";
> border-right-color: "#006699";
> border-left-color: "lightgrey";
> border-top-color: "lightgrey";
> border-width: 3;
> }
> But it doesn't look right. I'm obviously missing something...
> Any assistance gratefully received.
> Mark Rae
>
"Alphonse Giambrone" <NOSPAMa-giam@.example.invalid> wrote in message
news:emevqZ4aEHA.2056@.TK2MSFTNGP12.phx.gbl...
> Check out
> http://www.somacon.com/color/html_c...rder_styles.php
A useful link - thanks very much.
Tables and CSS
Not sure if this is the right forum for this, but here goes:
I'm using VS.NET 2003 to create a Web app and have defined a table as
follows:
<table border=3 bordercolordark="#006699" bordercolorlight="lightgrey"
width="100%"
As I'm going to be reusing this style all over the app, I'm trying to
replace it with a style, as follows:
<table class=tblBorder
and in my stylesheet I have the following definition:
..tblBorder
{
border-style: outset;
border-bottom-color: "#006699";
border-right-color: "#006699";
border-left-color: "lightgrey";
border-top-color: "lightgrey";
border-width: 3;
}
But it doesn't look right. I'm obviously missing something...
Any assistance gratefully received.
Mark RaeHi Mark,
You aren't missing anything. The bordercolorlight and bordercolordark are
rendered differently than CSS styles are so things may not look the same
when applied differently. Also, border in the <table> tag is expressed
differently than border-width is in CSS (border-width in CSS can take
different measurement units including pt, px, em, etc). You will have to toy
around with your CSS settings to get them closer to what the browser
actually renders if those values were supplied in the tag.
--
HTH
Kyril Magnos
Question of the day:
What is Mono?
A) Disease where the lymph nodes become swollen.
B) A single sound
C) A synonym for one
D) A port of .NET meant to royally irritate MSFT
E) All of the above.
"Mark Rae" <mark@.mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:%23JEFeE3aEHA.3512@.TK2MSFTNGP12.phx.gbl...
| Hi,
|
| Not sure if this is the right forum for this, but here goes:
|
| I'm using VS.NET 2003 to create a Web app and have defined a table as
| follows:
|
| <table border=3 bordercolordark="#006699" bordercolorlight="lightgrey"
| width="100%">
|
| As I'm going to be reusing this style all over the app, I'm trying to
| replace it with a style, as follows:
|
| <table class=tblBorder>
|
| and in my stylesheet I have the following definition:
|
| .tblBorder
| {
| border-style: outset;
| border-bottom-color: "#006699";
| border-right-color: "#006699";
| border-left-color: "lightgrey";
| border-top-color: "lightgrey";
| border-width: 3;
| }
|
| But it doesn't look right. I'm obviously missing something...
|
| Any assistance gratefully received.
|
| Mark Rae
|
|
"Kyril Magnos" <kyril.magnos@.yahoo.com> wrote in message
news:eHTGrL3aEHA.4048@.TK2MSFTNGP10.phx.gbl...
> Hi Mark,
> You aren't missing anything. The bordercolorlight and bordercolordark are
> rendered differently than CSS styles are so things may not look the same
> when applied differently. Also, border in the <table> tag is expressed
> differently than border-width is in CSS (border-width in CSS can take
> different measurement units including pt, px, em, etc). You will have to
toy
> around with your CSS settings to get them closer to what the browser
> actually renders if those values were supplied in the tag.
OK - thanks for the reply.
Check out
http://www.somacon.com/color/html_c...rder_styles.php
--
Alphonse Giambrone
Email: a-giam at customdatasolutions dot us
"Mark Rae" <mark@.mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:%23JEFeE3aEHA.3512@.TK2MSFTNGP12.phx.gbl...
> Hi,
> Not sure if this is the right forum for this, but here goes:
> I'm using VS.NET 2003 to create a Web app and have defined a table as
> follows:
> <table border=3 bordercolordark="#006699" bordercolorlight="lightgrey"
> width="100%">
> As I'm going to be reusing this style all over the app, I'm trying to
> replace it with a style, as follows:
> <table class=tblBorder>
> and in my stylesheet I have the following definition:
> .tblBorder
> {
> border-style: outset;
> border-bottom-color: "#006699";
> border-right-color: "#006699";
> border-left-color: "lightgrey";
> border-top-color: "lightgrey";
> border-width: 3;
> }
> But it doesn't look right. I'm obviously missing something...
> Any assistance gratefully received.
> Mark Rae
"Alphonse Giambrone" <NOSPAMa-giam@.example.invalid> wrote in message
news:emevqZ4aEHA.2056@.TK2MSFTNGP12.phx.gbl...
> Check out
> http://www.somacon.com/color/html_c...rder_styles.php
A useful link - thanks very much.
Thursday, March 22, 2012
Tags missing there end tags when they are there.
Talk about a pain any help would be of great help...thank you.......also I know that somehow you can click a couple buttons to automaticlly arrange your code into the right format for instance this horrible messy code here
"LoginView2" runat="server"> Welcome Back
"LoginName1" runat="server" style="left: 1px; top: 15px; z-index: 100;" Height="23px" /> "LoginStatus1" runat="server" Style="position: static" />
To this somewhat nicer code here.
<asp:LoginView ID="LoginView2" runat="server"> <LoggedInTemplate> Welcome Back<br /> <asp:LoginName ID="LoginName1" runat="server" style="left: 1px; top: 15px; z-index: 100;" Height="23px" /> <asp:LoginStatus ID="LoginStatus1" runat="server" Style="position: static" /> </LoggedInTemplate> <AnonymousTemplate> <asp:Login ID="Login1" runat="server" BackColor="Bisque" BorderColor="#FF8000" BorderPadding="4" BorderStyle="Solid" BorderWidth="1px" Font-Bold="True" Font-Names="Palatino Linotype" Font-Size="1.3em" ForeColor="Black" Height="135px" Style="position: static" CreateUserText="Register" CreateUserUrl="~/Register.aspx" PasswordRecoveryText="Forgot Your Password?" PasswordRecoveryUrl="~/passwordRecovery.aspx"> <TitleTextStyle BackColor="#FF8000" Font-Bold="True" Font-Size="0.9em" ForeColor="White" /> <InstructionTextStyle Font-Italic="True" ForeColor="Black" /> <TextBoxStyle Font-Size="0.8em" /> <LoginButtonStyle BackColor="#FF8000" BorderColor="#FF8000" BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" ForeColor="White" /> <CheckBoxStyle BackColor="Transparent" /> <HyperLinkStyle ForeColor="RoyalBlue" /> </asp:Login> </AnonymousTemplate> </asp:LoginView>if you know they way to do this please let me know that might be my problem things not lining up...
P.S. my code does not look like the first example LOL
Sorry everyone I just figured this whole thing out after working on it literally for the past 5 hours haha but if you want to learn about this problem and how to incorporate <form runat=server> Tags in a masterpage and use content pages that also run off that tag then go to my very last post located here.
http://forums.asp.net/thread/1379460.aspx
Thanks.