« first day (1314 days earlier)      last day (2474 days later) » 

8:01 AM
Could someone tell me why this error would show up from my validation? I got this format from W3Schools, so I don't quite understand why it's incorrect!

Error: Attribute name not allowed on element label at this point.
From line 27, column 4; to line 27, column 45
ion"/>↩ <label for="navigation" name="navigation">Title
 
user6820627
8:43 AM
@sarangheh510 can you show me the whole screenshot?
 
9:10 AM
I don't have the ability to upload images quite yet.

It basically says this:

Error: Attribute name not allowed on element label at this point.
From line 27, column 4; to line 27, column 45
ion"/>↩ <label for="navigation" name="navigation">Title1
Attributes for element label:
Global attributes
for - Associate the label with form control

Error: Attribute name not allowed on element label at this point.
From line 36, column 4; to line 36, column 47
on2"/>↩ <label for="navigation2" name="navigation2">Title2
 
 
9 hours later…
6:14 PM
posted on December 04, 2016

New Cyanide and Happiness Comic

 
 
3 hours later…
9:43 PM
@Wes sorry I completely forgot to try when I got home :/ I'll try to remember tonight
 
Wes
no prob @joshhunt :D bug was confirmed and already solved by the php folks :P
 
ah ok
 
 
2 hours later…
11:37 PM
@Wes I may have asked you this before but do you know about csrf tokens?
Have a look at this: stackoverflow.com/a/31451123
According to the comment it is insecure, however I'm not sure it is. If you can get / use a token from /get-csrf-token then there's nothing stopping you from doing to the same to the token insert via hidden input from /sign-in right?
 
Wes
comment is right
unless you hit the "refresh csrf token" url by passing the old one, just before it expires
 
can you explain further? I don't understand
how is it different from going to any page with the token inserted and retrieving it from there?
 
Wes
you want to know why the comment is right?
 
yes
 
hey guys I have question regarding fluid layout..
 
Wes
11:45 PM
i'm not sure
 
@aspire29 well don't just stand there, fire away. "Don't ask to ask, just ask, and ask once!" (top right)
 
Wes
yeah now i think that could work :B
 
oh ok I thought I have to wait
 
Wes
not sure it's a good idea though
 
well that wasn't my plan, I was just wondering if my logic is wrong somehow
 
11:47 PM
anyway.... so I am trying to set the total width of my body to 960px..... but if I am using a percentage how would I know that it is 960px?
 
my plan is something like this:
1. load page
2. token expires
3. send ajax request -> server returns "failure" with new token attached
4. page automatically resends ajax request with new token
 
umm... I pretty much a newbie in web design...
so not sure what that means
 
@aspire29 sorry that was directed to wes. Anyways if you are trying to set the width of your body to 960px why are you using %?
 
I am trying to make a fluid design
 
how is it going to be fluid if it has a fixed width of 960px?
Maybe max-width is what you are looking for? e.g. "max-width: 960px"
 
11:51 PM
so if I were to set to width to 100% for the body tag... how much resolution would it be?
oh so if I set a max width then the 100% is gonaa be 960px?
 
sorry I don't understand what you are asking. I think maybe you don't understand what % does
 
oh ok that makes sense... so after that I can add @media to change the layout to mobile version
 
well you can. Or you can use max-width if that works for you. By default width is 100% (in a complicated way) so you don't need to do anything on it
 
is it possible to set the a width to html tag then use percentages in the body tag to make it 960px using percentages?
would that be a problem in a fluid layout?
 
why are you trying to do this?
 
11:55 PM
well apparently my CW requires me to do a fluid layout...
 
why can't you use max-width like this? jsfiddle.net/qbhx3pr8
@Wes do you know anybody in the php room that knows lots about security stuff?
 
Wes
yes, pretty much all of them :B
 
so if I were to set a max-width like that that the body of the page will stretch up to the set amount?
 
haha ok I will try there :D
are they friendly?
 

« first day (1314 days earlier)      last day (2474 days later) »