aboutsummaryrefslogtreecommitdiffstats
path: root/src/el_div.cpp
blob: a23681cd1ddee4000fdb4fb7b2d0290560f75ff4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "el_div.h"
#include "document.h"


litehtml::el_div::el_div(const document::ptr& doc) : html_tag(doc)
{

}

void litehtml::el_div::parse_attributes()
{
	const char* str = get_attr("align");
	if(str)
	{
		m_style.add_property(_text_align_, str);
	}
	html_tag::parse_attributes();
}